summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-08 21:56:44 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-08 21:56:44 +0000
commit893dcf4ac36b53f59b1dc3cd176ed75a9fcf7583 (patch)
tree61f8ee91fbf1fadfa1028fd33b1512612616a61a /Makefile
parentff8f331457d228145dd50da5293b7ec449e95463 (diff)
Another little documentation aid.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3627 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 213b368..dcd4a22 100644
--- a/Makefile
+++ b/Makefile
@@ -262,6 +262,10 @@ endif
BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS))
MAN_PAGES:=$(wildcard $(BINS:%=doc/%.8))
+# All the man pages. Not just installed ones:
+GROFF_PAGES := $(wildcard doc/*.8)
+GROFF_HTML := $(GROFF_PAGES:%=%.html)
+
all: menuselect.makeopts
@$(MAKE) _all
@@ -407,6 +411,13 @@ README.html: README
xpp/README.Astribank.html: xpp/README.Astribank
cd $(@D); $(ASCIIDOC) -o $(@F) -n -a toc $(<F)
+# on Debian: this requires the full groof, not just groff-base.
+%.8.html: %.8
+ groff -Thtml $^ >$@
+
+htmlman: $(GROFF_HTML)
+
+
MISDNVERSION=1_1_3
MISDNUSERVERSION=1_1_3
b410p: