summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-25 08:42:06 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-25 08:42:06 +0000
commit68dc3ab5963210728ca24b386c73b7080e46e4f6 (patch)
tree17c0828871335b8f6e739e5cb99e9fd52300e4cc /Makefile
parente5f886f2585699404877aba14291673e85615e9b (diff)
downloadmandoc-68dc3ab5963210728ca24b386c73b7080e46e4f6.tar.gz
Updating web-page to be a bit more compact.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e6ed0c78..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
@@ -51,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 \
@@ -79,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)/
@@ -261,3 +265,6 @@ mandoc: $(MAINOBJS) libmdoc.a libman.a
.7.7.txt:
./mandoc -Wall,error -fstrict $< | col -b > $@
+
+.tar.gz.md5:
+ md5 $< $@