summaryrefslogtreecommitdiffstatshomepage
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
commitef304928cf8372f743d9864ba9fbc8f688675600 (patch)
tree781e717d848aa6a47b1292a263660b39f83c5f87 /Makefile
parent923c10ecddac6baecf6db444cee68c380367592c (diff)
downloadmandoc-ef304928cf8372f743d9864ba9fbc8f688675600.tar.gz
mandoc-ef304928cf8372f743d9864ba9fbc8f688675600.tar.zst
mandoc-ef304928cf8372f743d9864ba9fbc8f688675600.zip
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 $< $@