[svn-commits] tzafrir: branch 1.4 r3627 - /branches/1.4/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 8 15:56:45 CST 2008


Author: tzafrir
Date: Tue Jan  8 15:56:44 2008
New Revision: 3627

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3627
Log:
Another little documentation aid.

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.4/Makefile?view=diff&rev=3627&r1=3626&r2=3627
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Tue Jan  8 15:56:44 2008
@@ -262,6 +262,10 @@
 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
 
@@ -406,6 +410,13 @@
 
 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




More information about the svn-commits mailing list