=================================================================== RCS file: /cvs/mandoc/Makefile,v retrieving revision 1.233 retrieving revision 1.239 diff -u -p -r1.233 -r1.239 --- mandoc/Makefile 2009/10/22 17:54:24 1.233 +++ mandoc/Makefile 2009/10/31 06:23:28 1.239 @@ -9,8 +9,8 @@ INSTALL_DATA = install -m 0444 INSTALL_LIB = install -m 0644 INSTALL_MAN = $(INSTALL_DATA) -VERSION = 1.9.9 -VDATE = 21 October 2009 +VERSION = 1.9.12 +VDATE = 31 October 2009 VFLAGS = -DVERSION="\"$(VERSION)\"" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -g @@ -19,7 +19,7 @@ CFLAGS += $(VFLAGS) LINTFLAGS += $(VFLAGS) MANDOCFLAGS = -Wall -fstrict -MANDOCHTML = -Thtml -ostyle=style.css,man=%N.%S.html,includes=%I.html +MANDOCHTML = -Thtml -Ostyle=style.css,man=%N.%S.html,includes=%I.html MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \ mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \ @@ -88,6 +88,9 @@ clean: cleanlint: rm -f $(LNS) $(LLNS) +cleanhtml: + rm -f $(HTML) $(GSGMLS) + dist: mdocml-$(VERSION).tar.gz www: all $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS) @@ -232,7 +235,7 @@ mandoc: $(MAINOBJS) libmdoc.a libman.a $(CC) $(CFLAGS) -o $@ $(MAINOBJS) libmdoc.a libman.a .sgml.html: - #validate $< + validate --warn $< sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ .1.1.txt .3.3.txt .7.7.txt: