-.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
INSTALL_LIB = install -m 0644
INSTALL_MAN = $(INSTALL_DATA)
-VERSION = 1.7.19
-VDATE = 17 June 2009
+VERSION = 1.7.20
+VDATE = 22 June 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
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 \
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)/
.7.7.txt:
./mandoc -Wall,error -fstrict $< | col -b > $@
+
+.tar.gz.md5:
+ md5 $< $@