From ea6023b254946fbeebfb707b6b79811c7e394385 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 6 Jun 2007 13:43:17 +0000 Subject: [PATCH] Fix Samba documentation build for manpages (This used to be commit 075e0065f39480a2046bf65ffedcdbf36889d4c5) --- docs/Makefile | 25 +++++++++++++------------ docs/Samba3-Developers-Guide/index.xml | 2 +- docs/manpages-3/smb.conf.5.xml | 2 +- docs/templates/attributions.xml | 5 +++++ docs/xslt/man.xsl | 6 ++++++ 5 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 docs/templates/attributions.xml diff --git a/docs/Makefile b/docs/Makefile index 33c6425d1be..68fdaadfd1f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -53,6 +53,18 @@ $(DOCBOOKDIR)/Samba4-HOWTO.xml: $(filter-out Samba4-HOWTO/index.xml,$(wildcard S all: $(TARGETS) everything: manpages3 pdf html-single html htmlman3 txt ps fo htmlhelp pearson release: manpages3 htmlman3 html pdf +clean: + @echo "Cleaning up..." + rm -rf $(OUTPUTDIR)/* $(DOCBOOKDIR) + rm -f $(patsubst %.dia,%.png,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) \ + $(patsubst %.dia,%.pdf,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) \ + $(patsubst %.dia,%.eps,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) + rm -f *.xml *.d *.tpt *.tex *.loc *.toc *.lof *.glo *.idx *.aux + rm -f *-images-html* + rm -f *-images-latex-* latexfigures + rm -f xslt/figures/*pdf + rm -f $(SMBDOTCONFDOC)/parameters.*.xml + rm -f $(addsuffix .*,$(MAIN_DOCS)) # Output format targets pdf: $(patsubst %,$(PDFDIR)/%.pdf,$(MAIN_DOCS)) @@ -115,6 +127,7 @@ $(HTMLDIR)/%.html: $(DOCBOOKDIR)/%.xml $(HTMLDIR)/samba.css xslt/html.xsl # Attributions %-attributions.xml: @echo "Generating attributions file $@ from $*/" + @cp -f templates/attributions.xml $@ $(XSLTPROC) --xinclude -o $@ xslt/generate-attributions.xsl $*/index.xml # Text files @@ -302,18 +315,6 @@ xslt/pearson.xsl: distclean clobber: clean rm Makefile.settings config.status config.log configure -clean: - @echo "Cleaning up..." - rm -rf $(OUTPUTDIR)/* $(DOCBOOKDIR) - rm -f $(patsubst %.dia,%.png,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) \ - $(patsubst %.dia,%.pdf,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) \ - $(patsubst %.dia,%.eps,$(foreach DOC,$(MAIN_DOCS),$($(DOC)-images-latex-dia))) - rm -f *.xml *.d *.tpt *.tex *.loc *.toc *.lof *.glo *.idx *.aux - rm -f *-images-html* - rm -f *-images-latex-* latexfigures - rm -f xslt/figures/*pdf - rm -f $(SMBDOTCONFDOC)/parameters.*.xml - rm -f $(addsuffix .*,$(MAIN_DOCS)) # Always keep intermediate files if we can .SECONDARY: diff --git a/docs/Samba3-Developers-Guide/index.xml b/docs/Samba3-Developers-Guide/index.xml index 0e3eb10b3ba..74a70483866 100644 --- a/docs/Samba3-Developers-Guide/index.xml +++ b/docs/Samba3-Developers-Guide/index.xml @@ -44,7 +44,7 @@ url="http://www.fsf.org/licenses/gpl.txt">http://www.fsf.org/licenses/gpl.txt - + diff --git a/docs/manpages-3/smb.conf.5.xml b/docs/manpages-3/smb.conf.5.xml index 13743debf14..52780a04bef 100644 --- a/docs/manpages-3/smb.conf.5.xml +++ b/docs/manpages-3/smb.conf.5.xml @@ -55,7 +55,7 @@ - Any line ending in a \ is continued on the next line in the customary UNIX fashion. + Any line ending in a \\ is continued on the next line in the customary UNIX fashion. diff --git a/docs/templates/attributions.xml b/docs/templates/attributions.xml new file mode 100644 index 00000000000..281a9e51eae --- /dev/null +++ b/docs/templates/attributions.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/xslt/man.xsl b/docs/xslt/man.xsl index 9387c04e432..38d99f98403 100644 --- a/docs/xslt/man.xsl +++ b/docs/xslt/man.xsl @@ -132,6 +132,12 @@ \fR + + \fB + + \fR + + -- 2.11.4.GIT