summaryrefslogtreecommitdiff
path: root/docs/docbook/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/Makefile.in')
-rw-r--r--docs/docbook/Makefile.in58
1 files changed, 21 insertions, 37 deletions
diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in
index 0739f43f84..ae24606caf 100644
--- a/docs/docbook/Makefile.in
+++ b/docs/docbook/Makefile.in
@@ -21,9 +21,7 @@ MANPAGES_NAMES=findsmb.1 smbclient.1 \
smbpasswd.8 testprns.1 \
smb.conf.5 wbinfo.1 pdbedit.8 \
smbcacls.1 smbsh.1 winbindd.8 \
- smbgroupedit.8 vfstest.1 \
- profiles.1 smbtree.1 ntlm_auth.1 \
- editreg.1 smbcquotas.1
+ smbgroupedit.8 vfstest.1
## This part contains only rules. You shouldn't need to change it
## if you are adding docs
@@ -68,42 +66,36 @@ everything: manpages ps pdf html-single html htmlman txt htmlfaq
# Global rules
-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)
+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:
$(DOCBOOK2HTML) -d samba.dsl -o $(FAQDIR) $(FAQPROJDOC)/sambafaq.sgml
-html-single: $(HTMLDIR) $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html
-html: $(HTMLDIR)
+html-single: $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html
+html:
$(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 . $<
+ $(DOCBOOK2TXT) -o . $<
mv ./samba-doc.txt $@
-$(TXTDIR)/Samba-Developers-Guide.txt: $(DEVDOC)/dev-doc.sgml
- $(DOCBOOK2TXT) -d samba.dsl -o . $<
- mv ./dev-doc.txt $@
+$(TXTDIR)/Samba-Developers-Guide.txt: $(PROJDOC)/samba-doc.sgml
+ $(DOCBOOK2TXT) -o . $<
+ mv ./samba-doc.txt $@
# PostScript
-$(PSDIR):
- mkdir $(PSDIR)
-
$(PSDIR)/Samba-HOWTO-Collection.ps: $(PROJDOC)/samba-doc.sgml
- $(DOCBOOK2PS) -d samba.dsl -o . $<
+ $(DOCBOOK2PS) -o . $<
mv ./samba-doc.ps $@
-$(PSDIR)/Samba-Developers-Guide.ps: $(DEVDOC)/dev-doc.sgml
- $(DOCBOOK2PS) -d samba.dsl -o . $<
- mv ./dev-doc.ps $@
+$(PSDIR)/Samba-Developers-Guide.ps: $(PROJDOC)/samba-doc.sgml
+ $(DOCBOOK2PS) -o . $<
+ mv ./samba-doc.ps $@
# Adobe PDF files
@@ -115,28 +107,20 @@ $(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 . $<
+ $(DOCBOOK2HTML) -u -o . $<
mv ./samba-doc.html $@
$(HTMLDIR)/Samba-Developers-Guide.html: $(DEVDOC)/dev-doc.sgml
- $(DOCBOOK2HTML) -d samba.dsl -u -o . $<
+ $(DOCBOOK2HTML) -u -o . $<
mv ./dev-doc.html $@
$(HTMLDIR)/%.html: $(MANPROJDOC)/%.sgml
- $(DOCBOOK2HTML) -d samba.dsl -u -o $(HTMLDIR) $<
-
-# Manpages
-
-$(MANDIR):
- mkdir $(MANDIR)
+ $(DOCBOOK2HTML) -u -o $(HTMLDIR) $<
$(MANDIR)/%: $(MANPROJDOC)/%.sgml
- $(DOCBOOK2MAN) -d samba.dsl -o $(MANDIR) $<
+ $(DOCBOOK2MAN) -o $(MANDIR) $< || rm $@
$(PERL) scripts/strip-links.pl < $@ > $@.temp
mv $@.temp $@