=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.27 retrieving revision 1.29 diff -u -p -r1.27 -r1.29 --- mandoc/Makefile 2008/12/05 22:54:44 1.27 +++ 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,18 +18,21 @@ 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 \ test.15 test.20 test.22 test.24 test.26 test.27 test.30 \ - test.36 test.37 test.40 + test.36 test.37 test.40 test.50 SUCCEED = test.7 test.8 test.9 test.10 test.11 test.12 test.13 \ test.14 test.16 test.17 test.18 test.19 test.21 test.23 \ test.25 test.28 test.29 test.31 test.32 test.33 test.34 \ - test.35 test.38 test.39 test.41 + test.35 test.38 test.39 test.41 test.42 test.43 test.44 \ + test.45 test.46 test.47 test.48 test.49 test.51 test.52 all: mdocml @@ -36,6 +41,8 @@ lint: llib-lmdocml.ln dist: mdocml.tgz +www: $(HTML) + regress: mdocml @for f in $(FAIL); do \ echo "./mdocml $$f" ; \ @@ -51,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/