svn commit: samba-docs r624 - in trunk: . xslt

jelmer at samba.org jelmer at samba.org
Sun Jun 12 16:46:09 GMT 2005


Author: jelmer
Date: 2005-06-12 16:46:09 +0000 (Sun, 12 Jun 2005)
New Revision: 624

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=624

Log:
Remove references to Samba4 manpages

Removed:
   trunk/xslt/upgrade.pl
Modified:
   trunk/Makefile
   trunk/Makefile.settings.in
   trunk/configure.in
   trunk/xslt/latex.xsl


Changeset:
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2005-06-12 16:38:23 UTC (rev 623)
+++ trunk/Makefile	2005-06-12 16:46:09 UTC (rev 624)
@@ -9,7 +9,6 @@
 # Docs to build
 MAIN_DOCS = $(patsubst %/index.xml,%,$(wildcard */index.xml))
 MANPAGES3 = $(wildcard $(MANPAGEDIR3)/*.?.xml)
-MANPAGES4 = $(wildcard $(MANPAGEDIR4)/*.?.xml)
 
 # Lists of files to process
 LATEX_FIGURES = xslt/figures/caution.pdf xslt/figures/important.pdf xslt/figures/note.pdf xslt/figures/tip.pdf xslt/figures/warning.pdf
@@ -32,10 +31,10 @@
 	@echo " release - Build the docs needed for a Samba release"
 	@echo " all - Build all docs that can be build using the utilities found by configure"
 	@echo " everything - Build all of the above"
-	@echo " pdf,tex,dvi,ps,manpages{3,4},txt,pearson,fo,htmlhelp - Build specific output format"
+	@echo " pdf,tex,dvi,ps,manpages3,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,htmlman4 - Build HTML version of manpages"
+	@echo " htmlman3 - Build HTML version of manpages"
 	@echo " undocumented - Output list of undocumented smb.conf options"
 	@echo " samples - Extract examples"
 
@@ -47,7 +46,7 @@
 
 # Pseudo targets 
 all: $(TARGETS)
-everything: manpages3 manpages4 pdf html-single html htmlman3 htmlman4 txt ps fo htmlhelp pearson 
+everything: manpages3 pdf html-single html htmlman3 txt ps fo htmlhelp pearson 
 release: manpages3 htmlman3 html pdf 
 
 # Output format targets
@@ -62,12 +61,10 @@
 texi: $(patsubst %,$(TEXINFODIR)/%.texi,$(MAIN_DOCS))
 texiinfo: $(patsubst %,$(TEXINFODIR)/%.info,$(MAIN_DOCS))
 manpages3: $(patsubst $(MANPAGEDIR3)/%.xml,$(OUTPUTDIR)/manpages-3/%,$(MANPAGES3))
-manpages4: $(patsubst $(MANPAGEDIR4)/%.xml,$(OUTPUTDIR)/manpages-4/%,$(MANPAGES4))
 pearson: $(PEARSONDIR)/Samba3-HOWTO.xml
 pearson-verify: $(PEARSONDIR)/Samba3-HOWTO.report.html
 plucker: $(patsubst %,$(PLUCKERDIR)/%.pdb,$(MAIN_DOCS))
 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))
@@ -83,23 +80,12 @@
 	mkdir -p $(@D)
 	$(XSLTPROC) --xinclude --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
 
-$(DOCBOOKDIR)/manpages-4/%.xml: $(MANPAGEDIR4)/%.xml xslt/expand-sambadoc.xsl
-	mkdir -p $(@D)
-	$(XSLTPROC) --xinclude --stringparam latex.imagebasedir "$*/" --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $<
-
 $(DOCBOOKDIR)/manpages-3/index.xml: $(MANPAGES3) xslt/manpage-summary.xsl
 	mkdir -p $(@D)
 	echo "<article><variablelist>" > $@
 	$(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/Makefile.settings.in
===================================================================
--- trunk/Makefile.settings.in	2005-06-12 16:38:23 UTC (rev 623)
+++ trunk/Makefile.settings.in	2005-06-12 16:46:09 UTC (rev 624)
@@ -30,7 +30,6 @@
 SRCDIR = @SAMBASOURCEDIR@
 EPSTOPDF = @EPSTOPDF@
 MANPAGEDIR3 = manpages-3
-MANPAGEDIR4 = manpages-4
 MAKEINDEX = @MAKEINDEX@
 EXAMPLESDIR = $(OUTPUTDIR)/examples
 SMBDOTCONFDOC = smbdotconf

Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2005-06-12 16:38:23 UTC (rev 623)
+++ trunk/configure.in	2005-06-12 16:46:09 UTC (rev 624)
@@ -87,8 +87,8 @@
 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], [htmlman3 htmlman4])
-DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages3 manpages4])
+DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman3])
+DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages3])
 DOCS_DEFINE_TARGET(PEARSON, ALL, [pearson-compatible XML], [pearson])
 DOCS_DEFINE_TARGET(PLUCKER, HTML, [plucker versions], [plucker])
 DOCS_DEFINE_TARGET(VALIDATE, ALL, [validating docbook output], [])

Modified: trunk/xslt/latex.xsl
===================================================================
--- trunk/xslt/latex.xsl	2005-06-12 16:38:23 UTC (rev 623)
+++ trunk/xslt/latex.xsl	2005-06-12 16:46:09 UTC (rev 624)
@@ -2,6 +2,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 <xsl:import href="../settings.xsl"/>
 <xsl:import href="http://db2latex.sourceforge.net/xsl/docbook.xsl"/>
+<xsl:import href="strip-references.xsl"/>
 
 <xsl:param name="latex.mapping.xml" select="document('latex.overrides.xml')"/>
 

Deleted: trunk/xslt/upgrade.pl
===================================================================
--- trunk/xslt/upgrade.pl	2005-06-12 16:38:23 UTC (rev 623)
+++ trunk/xslt/upgrade.pl	2005-06-12 16:46:09 UTC (rev 624)
@@ -1,12 +0,0 @@
-#!/usr/bin/perl
-# Update documents to the Samba DTD V1.0
-
-undef $/;
-
-while(<>) {
-	s/<smbconfoption><name>(.*?)<\/name><value>(.*?)<\/value><\/smbconfoption>/<smbconfoption name=\"\1\">\2<\/smbconfoption>/g;
-	s/<smbconfoption><name>(.*?)<\/name><\/smbconfoption>/<smbconfoption name=\"\1\"\/>/g;
-	s/<smbconfsection>(.*?)<\/smbconfsection>/<smbconfsection name=\"\1\"\/>/g;
-	s/xmlns:samba=\"http:\/\/samba.org\/common\"/xmlns:samba=\"http:\/\/www.samba.org\/samba\/DTD\/samba-doc\"/g;
-	print $_;
-}



More information about the samba-cvs mailing list