aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-24 14:20:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-24 14:20:08 +0000
commitd2207673b9fe3268029149f7343cf907456a7d45 (patch)
treec8287048a9789cf130f97c7ffe81a4a17484a6aa
parent8f2a310239a13e878bb7d00396ba65b144cc3d22 (diff)
downloadmandoc-d2207673b9fe3268029149f7343cf907456a7d45.tar.gz
mandoc-d2207673b9fe3268029149f7343cf907456a7d45.tar.zst
mandoc-d2207673b9fe3268029149f7343cf907456a7d45.zip
Have Makefile build XHTML files too.VERSION_1_10_8
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fd8fd16e..862a541e 100644
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,10 @@ GSGMLS = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml \
SGMLS = index.sgml
+XHTMLS = mandoc.1.xhtml mdoc.3.xhtml \
+ man.3.xhtml mdoc.7.xhtml man.7.xhtml mandoc_char.7.xhtml \
+ roff.7.xhtml roff.3.xhtml
+
HTMLS = ChangeLog.html index.html man.h.html mdoc.h.html \
mandoc.h.html roff.h.html mandoc.1.html mdoc.3.html \
man.3.html mdoc.7.html man.7.html mandoc_char.7.html \
@@ -140,7 +144,7 @@ CONFIGS = config.h.pre config.h.post
DOCLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \
$(TARGZS) tags $(MD5S) $(XMLS) $(TEXTS) $(GSGMLS) \
- config.h config.log $(PSS) $(PDFS)
+ config.h config.log $(PSS) $(PDFS) $(XHTMLS)
DOINSTALL = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \
$(DATAS) $(XSLS) $(EXAMPLES) $(TESTS) $(CONFIGS)
@@ -154,14 +158,14 @@ clean:
dist: mdocml-$(VERSION).tar.gz
-www: all $(GSGMLS) $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS) $(PSS) $(PDFS)
+www: all $(GSGMLS) $(HTMLS) $(XHTMLS) $(TEXTS) $(MD5S) $(TARGZS) $(PSS) $(PDFS)
ps: $(PSS)
pdf: $(PDFS)
installwww: www
- $(INSTALL_DATA) $(HTMLS) $(PSS) $(PDFS) $(TEXTS) $(STATICS) $(DESTDIR)$(PREFIX)/
+ $(INSTALL_DATA) $(HTMLS) $(XHTMLS) $(PSS) $(PDFS) $(TEXTS) $(STATICS) $(DESTDIR)$(PREFIX)/
$(INSTALL_DATA) mdocml-$(VERSION).tar.gz $(DESTDIR)$(PREFIX)/snapshots/
$(INSTALL_DATA) mdocml-$(VERSION).md5 $(DESTDIR)$(PREFIX)/snapshots/
$(INSTALL_DATA) mdocml-$(VERSION).tar.gz $(DESTDIR)$(PREFIX)/snapshots/mdocml.tar.gz