diff options
author | Alexander Bokovoy <ab@samba.org> | 2007-06-06 13:43:17 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:47:33 -0500 |
commit | ea6023b254946fbeebfb707b6b79811c7e394385 (patch) | |
tree | 84b4969c38fcf08c74cf56cc4bd19be7b77854bd /docs/Makefile | |
parent | a2108af1c4e06b7806a4962ee9d9b465ac8aec82 (diff) | |
download | samba-ea6023b254946fbeebfb707b6b79811c7e394385.tar.gz samba-ea6023b254946fbeebfb707b6b79811c7e394385.tar.bz2 samba-ea6023b254946fbeebfb707b6b79811c7e394385.zip |
Fix Samba documentation build for manpages
(This used to be commit 075e0065f39480a2046bf65ffedcdbf36889d4c5)
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/docs/Makefile b/docs/Makefile index 33c6425d1b..68fdaadfd1 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: |