=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.41 retrieving revision 1.44 diff -u -p -r1.41 -r1.44 --- mandoc/Makefile 2008/12/10 10:43:57 1.41 +++ mandoc/Makefile 2008/12/10 12:10:51 1.44 @@ -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,8 +24,10 @@ 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) @@ -52,7 +50,7 @@ lint: llib-lmdocml.ln dist: mdocml.tgz -www: all $(HTML) $(XML) +www: all $(HTML) $(XML) $(TEXT) regress: mdocml @for f in $(FAIL); do \ @@ -76,13 +74,16 @@ 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 install-www: www dist install -m 0644 mdocml.tgz $(PREFIX)/mdocml-$(VERSION).tgz install -m 0644 mdocml.tgz $(PREFIX)/mdocml.tgz - install -m 0644 $(HTML) $(XML) $(PREFIX)/ + install -m 0644 $(HTML) $(XML) $(TEXT) $(PREFIX)/ mdocml.tgz: $(INSTALL) mkdir -p .dist/mdocml/mdocml-$(VERSION)/