summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 12:05:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 12:05:33 +0000
commit314ca44f160b0c1b8bf73bc7c4157ca07db5da8a (patch)
treebb5cf4327cf95993a869cbffb6cb0f9c67173941 /Makefile
parent7d393d45bdff6d0d4a4742e71d0c6997150410be (diff)
downloadmandoc-314ca44f160b0c1b8bf73bc7c4157ca07db5da8a.tar.gz
mandoc-314ca44f160b0c1b8bf73bc7c4157ca07db5da8a.tar.zst
mandoc-314ca44f160b0c1b8bf73bc7c4157ca07db5da8a.zip
Versioning up.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 34f5bcf2..de2de11a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-.SUFFIXES: .html .7
-
VERSION = 1.0.1
# FIXME
@@ -28,8 +26,10 @@ HTML = index.html mdocml.html
XML = index.xml
+TEXT = index.txt
+
CLEAN = mdocml mdocml.tgz $(LLNS) $(LNS) $(OBJS) $(LIBS) $(HTML) \
- $(XML)
+ $(XML) $(TEXT)
INSTALL = Makefile $(HEADS) $(SRCS) $(MANS)
@@ -52,7 +52,7 @@ lint: llib-lmdocml.ln
dist: mdocml.tgz
-www: all $(HTML) $(XML)
+www: all $(HTML) $(XML) $(TEXT)
regress: mdocml
@for f in $(FAIL); do \
@@ -76,6 +76,9 @@ index.html: index.7 mdocml.css
index.xml: index.7 mdocml.css
./mdocml -Wall -o $@ index.7
+index.txt: index.7
+ cp -f index.7 index.txt
+
mdocml.html: mdocml.1 mdocml.css
./mdocml -Wall -fhtml -e -o $@ mdocml.1