aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-05 07:24:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-05 07:24:55 +0000
commit392ffc05c072465e98971dc1ef30c07bc69a7329 (patch)
tree22c7021dd4bab1ef069bccde6846868c010c9a9e /Makefile
parent1193a9f5cfb0cbb5a35ccca02a5968b39620f1db (diff)
downloadmandoc-392ffc05c072465e98971dc1ef30c07bc69a7329.tar.gz
mandoc-392ffc05c072465e98971dc1ef30c07bc69a7329.tar.zst
mandoc-392ffc05c072465e98971dc1ef30c07bc69a7329.zip
Added generation of mdoc.h.html and man.h.html as linked from generated mdoc.3.html and man.3.html, respectively.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8b400954..56231e07 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml
+.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml .h .h.html
BINDIR = $(PREFIX)/bin
INCLUDEDIR = $(PREFIX)/include
@@ -68,7 +68,7 @@ HEADS = mdoc.h libmdoc.h man.h libman.h term.h \
GSGMLS = mandoc.1.sgml mdoc.3.sgml mdoc.7.sgml manuals.7.sgml \
mandoc_char.7.sgml man.7.sgml man.3.sgml
SGMLS = index.sgml
-HTMLS = ChangeLog.html index.html
+HTMLS = ChangeLog.html index.html man.h.html mdoc.h.html
XSLS = ChangeLog.xsl
GHTMLS = mandoc.1.html mdoc.3.html man.3.html mdoc.7.html \
man.7.html mandoc_char.7.html manuals.7.html
@@ -241,6 +241,9 @@ mandoc: $(MAINOBJS) libmdoc.a libman.a
.tar.gz.md5:
md5 $< > $@
+.h.h.html:
+ highlight -I $< >$@
+
config.h: config.h.pre config.h.post
rm -f config.log
( cat config.h.pre; \