diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-21 15:19:34 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-21 15:19:34 +0000 |
commit | f66bbf3c088ee980876599343c083980f884d661 (patch) | |
tree | 0a4551ed178ce5ea5ed96ccaf905eff30908654a /docs/docbook/Makefile.in | |
parent | 156014a529479b0b3f585d43e7a1f13adc622103 (diff) | |
download | samba-f66bbf3c088ee980876599343c083980f884d661.tar.gz samba-f66bbf3c088ee980876599343c083980f884d661.tar.bz2 samba-f66bbf3c088ee980876599343c083980f884d661.zip |
Create ../textdocs, ../htmldocs or ../manpages if they don't exist already
(This used to be commit 8dc7087cf0306271e07a25ac2538206ef3eaa497)
Diffstat (limited to 'docs/docbook/Makefile.in')
-rw-r--r-- | docs/docbook/Makefile.in | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in index e44108401d..0739f43f84 100644 --- a/docs/docbook/Makefile.in +++ b/docs/docbook/Makefile.in @@ -68,19 +68,22 @@ everything: manpages ps pdf html-single html htmlman txt htmlfaq # Global rules -manpages: $(MANPAGES) -pdf: $(PDFDIR)/Samba-HOWTO-Collection.pdf ../Samba-Developers-Guide.pdf -ps: $(PSDIR)/Samba-HOWTO-Collection.ps ../Samba-Developers-Guide.ps -txt: $(TXTDIR)/Samba-HOWTO-Collection.txt $(TXTDIR)/Samba-Developers-Guide.txt -htmlman: $(MANPAGES_HTML) -htmlfaq: +manpages: $(MANDIR) $(MANPAGES) +pdf: $(PDFDIR) $(PDFDIR)/Samba-HOWTO-Collection.pdf ../Samba-Developers-Guide.pdf +ps: $(PSDIR) $(PSDIR)/Samba-HOWTO-Collection.ps ../Samba-Developers-Guide.ps +txt: $(TXTDIR) $(TXTDIR)/Samba-HOWTO-Collection.txt $(TXTDIR)/Samba-Developers-Guide.txt +htmlman: $(HTMLDIR) $(MANPAGES_HTML) +htmlfaq: $(HTMLDIR) $(DOCBOOK2HTML) -d samba.dsl -o $(FAQDIR) $(FAQPROJDOC)/sambafaq.sgml -html-single: $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html -html: +html-single: $(HTMLDIR) $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html +html: $(HTMLDIR) $(DOCBOOK2HTML) -d samba.dsl -o $(HTMLDIR) $(PROJDOC)/samba-doc.sgml # Text files +$(TXTDIR): + mkdir $(TXTDIR) + $(TXTDIR)/Samba-HOWTO-Collection.txt: $(PROJDOC)/samba-doc.sgml $(DOCBOOK2TXT) -d samba.dsl -o . $< mv ./samba-doc.txt $@ @@ -91,6 +94,9 @@ $(TXTDIR)/Samba-Developers-Guide.txt: $(DEVDOC)/dev-doc.sgml # PostScript +$(PSDIR): + mkdir $(PSDIR) + $(PSDIR)/Samba-HOWTO-Collection.ps: $(PROJDOC)/samba-doc.sgml $(DOCBOOK2PS) -d samba.dsl -o . $< mv ./samba-doc.ps $@ @@ -109,6 +115,9 @@ $(PDFDIR)/Samba-Developers-Guide.pdf: $(HTMLDIR)/Samba-Developers-Guide.html # Single large HTML files +$(HTMLDIR): + mkdir $(HTMLDIR) + $(HTMLDIR)/Samba-HOWTO-Collection.html: $(PROJDOC)/samba-doc.sgml $(DOCBOOK2HTML) -d samba.dsl -u -o . $< mv ./samba-doc.html $@ @@ -121,6 +130,11 @@ $(HTMLDIR)/Samba-Developers-Guide.html: $(DEVDOC)/dev-doc.sgml $(HTMLDIR)/%.html: $(MANPROJDOC)/%.sgml $(DOCBOOK2HTML) -d samba.dsl -u -o $(HTMLDIR) $< +# Manpages + +$(MANDIR): + mkdir $(MANDIR) + $(MANDIR)/%: $(MANPROJDOC)/%.sgml $(DOCBOOK2MAN) -d samba.dsl -o $(MANDIR) $< $(PERL) scripts/strip-links.pl < $@ > $@.temp |