aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit74531418a871a3cfcda14d88ac9db39d8114ccc5 (patch)
tree9e1c215f2d74cff8163b9d5f0050e6f374cb5e4c /Makefile
parent23063cd88255c9044bad80050587c13d666bb8b2 (diff)
downloadmandoc-74531418a871a3cfcda14d88ac9db39d8114ccc5.tar.gz
mandoc-74531418a871a3cfcda14d88ac9db39d8114ccc5.tar.zst
mandoc-74531418a871a3cfcda14d88ac9db39d8114ccc5.zip
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 $< > $@