X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/73377e54f90c1040c4b17ae5939192f4bd9ec73a..983ea8dea4d9a03f6f016124742385f332e6c511:/Makefile diff --git a/Makefile b/Makefile index 25a11d62..cefef547 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.SUFFIXES: .html .sgml .1.txt .3.txt .7.txt .1 .3 .7 +.SUFFIXES: .html .sgml .1.txt .3.txt .7.txt .1 .3 .7 .md5 .tar.gz BINDIR = $(PREFIX)/bin INCLUDEDIR = $(PREFIX)/include @@ -9,12 +9,13 @@ INSTALL_DATA = install -m 0444 INSTALL_LIB = install -m 0644 INSTALL_MAN = $(INSTALL_DATA) -VERSION = 1.7.18 -VDATE = 15 June 2009 +VERSION = 1.7.20 +VDATE = 22 June 2009 VFLAGS = -DVERSION=\"$(VERSION)\" CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g CFLAGS += $(VFLAGS) +LINTFLAGS += $(VFLAGS) MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \ mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \ @@ -50,6 +51,10 @@ HEADS = mdoc.h libmdoc.h man.h libman.h term.h SGMLS = index.sgml HTMLS = index.html STATICS = style.css external.png +MD5S = mdocml-$(VERSION).md5 \ + mdocml-oport-$(VERSION).md5 \ + mdocml-fport-$(VERSION).md5 \ + mdocml-nport-$(VERSION).md5 TARGZS = mdocml-$(VERSION).tar.gz \ mdocml-oport-$(VERSION).tar.gz \ mdocml-fport-$(VERSION).tar.gz \ @@ -78,11 +83,11 @@ cleanlint: dist: mdocml-$(VERSION).tar.gz -port: mdocml-oport-$(VERSION).tar.gz \ - mdocml-fport-$(VERSION).tar.gz \ - mdocml-nport-$(VERSION).tar.gz +html: $(HTMLS) -www: all $(HTMLS) $(TARGZS) $(TEXTS) ChangeLog +md5: $(MD5) + +www: all $(TARGZS) $(TEXTS) ChangeLog installwww: www install -m 0444 $(TEXTS) $(HTMLS) $(STATICS) $(PREFIX)/ @@ -253,10 +258,13 @@ mandoc: $(MAINOBJS) libmdoc.a libman.a sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< > $@ .1.1.txt: - ./mandoc -Wall $< | col -b > $@ + ./mandoc -Wall,error -fstrict $< | col -b > $@ .3.3.txt: - ./mandoc -Wall $< | col -b > $@ + ./mandoc -Wall,error -fstrict $< | col -b > $@ .7.7.txt: - ./mandoc -Wall $< | col -b > $@ + ./mandoc -Wall,error -fstrict $< | col -b > $@ + +.tar.gz.md5: + md5 $< $@