svn commit: samba-docs r538 - in trunk: .
jelmer at samba.org
jelmer at samba.org
Fri May 6 01:39:52 GMT 2005
Author: jelmer
Date: 2005-05-06 01:39:51 +0000 (Fri, 06 May 2005)
New Revision: 538
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=538
Log:
Allow HTML build of Samba 4 manpages
Modified:
trunk/Makefile
trunk/configure.in
Changeset:
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2005-05-06 01:14:34 UTC (rev 537)
+++ trunk/Makefile 2005-05-06 01:39:51 UTC (rev 538)
@@ -35,7 +35,7 @@
@echo " pdf,tex,dvi,ps,manpages{3,4},txt,pearson,fo,htmlhelp - Build specific output format"
@echo " html - Build multi-file HTML versions"
@echo " html-single - Build single-file HTML versions"
- @echo " htmlman3 - Build HTML version of manpages"
+ @echo " htmlman3,htmlman4 - Build HTML version of manpages"
@echo " undocumented - Output list of undocumented smb.conf options"
@echo " samples - Extract examples"
@echo " files - Extract other files"
@@ -48,7 +48,7 @@
# Pseudo targets
all: $(TARGETS)
-everything: manpages3 manpages4 pdf html-single html htmlman3 txt ps fo htmlhelp pearson
+everything: manpages3 manpages4 pdf html-single html htmlman3 htmlman4 txt ps fo htmlhelp pearson
release: manpages3 htmlman3 html pdf
# Output format targets
@@ -67,7 +67,8 @@
pearson: $(PEARSONDIR)/Samba-HOWTO-Collection.xml
pearson-verify: $(PEARSONDIR)/Samba-HOWTO-Collection.report.html
plucker: $(patsubst %,$(PLUCKERDIR)/%.pdb,$(MAIN_DOCS))
-htmlman3: $(patsubst $(MANPAGEDIR3)/%.xml,$(HTMLDIR)/%.html,$(MANPAGES3)) $(HTMLDIR)/manpages.html
+htmlman3: $(patsubst $(MANPAGEDIR3)/%.xml,$(HTMLDIR)/manpages-3/%.html,$(MANPAGES3)) $(HTMLDIR)/manpages-3/index.html
+htmlman4: $(patsubst $(MANPAGEDIR4)/%.xml,$(HTMLDIR)/manpages-4/%.html,$(MANPAGES4)) $(HTMLDIR)/manpages-4/index.html
html-single: $(patsubst %,$(HTMLDIR)/%.html,$(MAIN_DOCS))
html: $(patsubst %,$(HTMLDIR)/%/index.html,$(MAIN_DOCS)) $(HTMLDIR)/index.html
htmlhelp: $(addprefix $(HTMLHELPDIR)/,$(MAIN_DOCS))
@@ -87,12 +88,19 @@
mkdir -p $(@D)
$(XSLTPROC) --xinclude --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
-$(DOCBOOKDIR)/manpages.xml: $(MANPAGES) xslt/manpage-summary.xsl
+$(DOCBOOKDIR)/manpages-3/index.xml: $(MANPAGES3) xslt/manpage-summary.xsl
mkdir -p $(@D)
echo "<article><variablelist>" > $@
- $(XSLTPROC) xslt/manpage-summary.xsl $(MANPAGES) >> $@
+ $(XSLTPROC) xslt/manpage-summary.xsl $(MANPAGES3) >> $@
echo "</variablelist></article>" >> $@
+$(DOCBOOKDIR)/manpages-4/index.xml: $(MANPAGES4) xslt/manpage-summary.xsl
+ mkdir -p $(@D)
+ echo "<article><variablelist>" > $@
+ $(XSLTPROC) xslt/manpage-summary.xsl $(MANPAGES4) >> $@
+ echo "</variablelist></article>" >> $@
+
+
# HTML docs
$(HTMLDIR)/index.html: htmldocs.html
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2005-05-06 01:14:34 UTC (rev 537)
+++ trunk/configure.in 2005-05-06 01:39:51 UTC (rev 538)
@@ -82,7 +82,7 @@
DOCS_DEFINE_TARGET(PS, LATEX, [PostScript versions], [ps])
DOCS_DEFINE_TARGET(HTML, ALL, [HTML versions], [html])
DOCS_DEFINE_TARGET(HTMLHELP, ALL, [HTML Help versions], [htmlhelp])
-DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman])
+DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman3 htmlman4])
DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages3 manpages4])
DOCS_DEFINE_TARGET(PEARSON, ALL, [pearson-compatible XML], [pearson])
DOCS_DEFINE_TARGET(PLUCKER, HTML, [plucker versions], [plucker])
More information about the samba-cvs
mailing list