]> git.cameronkatri.com Git - mandoc.git/blobdiff - Makefile
Versioning up.
[mandoc.git] / Makefile
index 4132579304d48de8547bce9e449db883115a55dd..de2de11a80889390d691d99b3720ca872a77d0bc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-.SUFFIXES:     .html .7
-
 VERSION        = 1.0.1
 
 # FIXME
@@ -28,15 +26,17 @@ 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)
 
 FAIL   = test.0 test.1 test.2 test.3 test.4 test.5 test.6 \
          test.15 test.20 test.22 test.24 test.26 test.27 test.30 \
          test.36 test.37 test.40 test.50 test.61 test.64 test.65 \
-         test.66
+         test.66 test.69 test.70
 
 SUCCEED        = test.7 test.8 test.9 test.10 test.11 test.12 test.13 \
          test.14 test.16 test.17 test.18 test.19 test.21 test.23 \
@@ -44,7 +44,7 @@ SUCCEED       = test.7 test.8 test.9 test.10 test.11 test.12 test.13 \
          test.35 test.38 test.39 test.41 test.42 test.43 test.44 \
          test.45 test.46 test.47 test.48 test.49 test.51 test.52 \
          test.54 test.55 test.56 test.57 test.58 test.59 test.60 \
-         test.62 test.63 test.67
+         test.62 test.63 test.67 test.68 test.71
 
 all: mdocml
 
@@ -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