=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.28 retrieving revision 1.29 diff -u -p -r1.28 -r1.29 --- mandoc/Makefile 2008/12/07 14:38:57 1.28 +++ mandoc/Makefile 2008/12/07 21:30:49 1.29 @@ -1,3 +1,5 @@ +.SUFFIXES: .html .7 + CFLAGS += -W -Wall -Wno-unused-parameter -g -DDEBUG LINTFLAGS += -c -e -f -u @@ -16,8 +18,10 @@ 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) FAIL = test.0 test.1 test.2 test.3 test.4 test.5 test.6 \ @@ -37,6 +41,8 @@ lint: llib-lmdocml.ln dist: mdocml.tgz +www: $(HTML) + regress: mdocml @for f in $(FAIL); do \ echo "./mdocml $$f" ; \ @@ -52,6 +58,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/