summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: