summaryrefslogtreecommitdiffstats
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
commit349718f4b8e31663549686fa17aa489c79d94cf3 (patch)
tree27b9c9e5c7230f3492d187b433417c556b48b115 /Makefile
parentf78e525bbf6c4d6f545d78949778d95f5dfaa55f (diff)
downloadmandoc-349718f4b8e31663549686fa17aa489c79d94cf3.tar.gz
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