summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-22 11:58:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-22 11:58:02 +0000
commit916d816563107e6cc9968f15b06bd97c213c7d69 (patch)
tree4aaf06fc6653e9b76845b34b04272112f2c84b75 /Makefile
parent2515c52e9db48734748471e72b6574b7253f9978 (diff)
downloadmandoc-916d816563107e6cc9968f15b06bd97c213c7d69.tar.gz
Build xhtml files for www site exemplaria.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a44c620f..05cd9300 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz
.SUFFIXES: .1.txt .3.txt .7.txt
+.SUFFIXES: .1.xhtml .3.xhtml .7.xhtml
.SUFFIXES: .1.sgml .3.sgml .7.sgml
.SUFFIXES: .h .h.html
.SUFFIXES: .1.ps .3.ps .7.ps
@@ -309,6 +310,9 @@ mandoc: $(MAINOBJS) libroff.a libmdoc.a libman.a libmandoc.a
.1.1.ps .3.3.ps .7.7.ps:
./mandoc -Tps -Wall,stop $< > $@
+.1.1.xhtml .3.3.xhtml .7.7.xhtml:
+ ./mandoc -Txhtml -Wall,stop -Ostyle=style.css,man=%N.%S.xhtml,includes=%I.html $< > $@
+
.1.1.pdf .3.3.pdf .7.7.pdf:
./mandoc -Tpdf -Wall,stop $< > $@