diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-07 21:30:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-07 21:30:49 +0000 |
commit | cbf4b23303e5c63578526fbe6fa0a5d8eb493fba (patch) | |
tree | 90b5d66bb889bc989e5ae7d725256fefe9316fd5 /Makefile | |
parent | 8fd8d3e8c36a0ca787a81071a2847668e8e91619 (diff) | |
download | mandoc-cbf4b23303e5c63578526fbe6fa0a5d8eb493fba.tar.gz |
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,5 @@ +.SUFFIXES: .html .7 + CFLAGS += -W -Wall -Wno-unused-parameter -g -DDEBUG LINTFLAGS += -c -e -f -u @@ -16,7 +18,9 @@ HEADS = libmdocml.h private.h ml.h roff.h MANS = mdocml.1 -CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIBS) +HTML = index.html + +CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIBS) $(HTML) INSTALL = Makefile $(HEADS) $(SRCS) $(MANS) @@ -37,6 +41,8 @@ lint: llib-lmdocml.ln dist: mdocml.tgz +www: $(HTML) + regress: mdocml @for f in $(FAIL); do \ echo "./mdocml $$f" ; \ @@ -53,6 +59,9 @@ mdocml: mdocml.o libmdocml.a clean: rm -f $(CLEAN) +index.html: index.7 mdocml.css + ./mdocml -W -fhtml -e -o $@ $< + mdocml.tgz: $(INSTALL) mkdir -p .dist/mdocml/ install -m 0644 $(INSTALL) .dist/mdocml/ |