=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.39 retrieving revision 1.43 diff -u -p -r1.39 -r1.43 --- mandoc/Makefile 2008/12/10 00:52:46 1.39 +++ mandoc/Makefile 2008/12/10 12:09:47 1.43 @@ -1,12 +1,8 @@ -.SUFFIXES: .html .7 +VERSION = 1.0.2 -VERSION = 1.0.1 - # FIXME CFLAGS += -W -Wall -Wno-unused-parameter -g -DDEBUG -LINTFLAGS += -c -e -f -u - LNS = mdocml.ln html.ln xml.ln libmdocml.ln roff.ln ml.ln mlg.ln \ compat.ln tokens.ln literals.ln tags.ln @@ -28,15 +24,17 @@ HTML = index.html mdocml.html XML = index.xml +TEXT = index.txt + CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIBS) $(HTML) \ - $(XML) + $(XML) $(TEXT) 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.50 test.61 test.64 test.65 \ - test.66 + test.66 test.69 test.70 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 \ @@ -44,7 +42,7 @@ SUCCEED = test.7 test.8 test.9 test.10 test.11 test.12 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 \ test.54 test.55 test.56 test.57 test.58 test.59 test.60 \ - test.62 test.63 test.67 + test.62 test.63 test.67 test.68 test.71 all: mdocml @@ -52,7 +50,7 @@ lint: llib-lmdocml.ln dist: mdocml.tgz -www: $(HTML) $(XML) +www: all $(HTML) $(XML) $(TEXT) regress: mdocml @for f in $(FAIL); do \ @@ -75,6 +73,9 @@ index.html: index.7 mdocml.css index.xml: index.7 mdocml.css ./mdocml -Wall -o $@ index.7 + +index.txt: index.7 + cp -f index.7 index.txt mdocml.html: mdocml.1 mdocml.css ./mdocml -Wall -fhtml -e -o $@ mdocml.1