summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-11 21:33:28 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:46:17 -0500
commit3ef4b3a89a362f4f0fea7b9f5952c6d116e7024f (patch)
tree93ef9efed77960d385a6ad7db3d473278dc24eef /docs/Makefile
parent71b81e299ee202f58dda5acef3edd0fe2adeb9a3 (diff)
downloadsamba-3ef4b3a89a362f4f0fea7b9f5952c6d116e7024f.tar.gz
samba-3ef4b3a89a362f4f0fea7b9f5952c6d116e7024f.tar.bz2
samba-3ef4b3a89a362f4f0fea7b9f5952c6d116e7024f.zip
Use the Samba DTD rather then the original DocBook one. This step will
(after the DTD is finished) allow us to validate the source documents. This all is require for generating PDF's thru XML-FO. (This used to be commit c5cfb1924445af98d6a538acaea40eceac411fe6)
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/Makefile b/docs/Makefile
index e08a115277..97bf3634b4 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -30,15 +30,13 @@ help:
@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,txt,pearson,fo,htmlhelp - Build specific output format"
- @echo " html - Build multi-file HTML version of HOWTO Collection, Guide and Dev-Guide"
- @echo " html-single - Build single-file HTML version of HOWTO Collection, Guide and Dev-Guide"
+ @echo " html - Build multi-file HTML versions"
+ @echo " html-single - Build single-file HTML versions"
@echo " htmlman - Build HTML version of manpages"
@echo " undocumented - Output list of undocumented smb.conf options"
@echo " samples - Extract examples"
@echo " files - Extract other files"
-
-
Samba-Guide/index.xml: $(subst Samba-Guide/index.xml,,$(wildcard Samba-Guide/*.xml))
Samba-HOWTO-Collection/index.xml: $(subst Samba-HOWTO-Collection/index.xml,,$(wildcard Samba-HOWTO-Collection/*.xml)) Samba-HOWTO-Collection-attributions.xml
Samba-Developers-Guide/index.xml: $(subst Samba-Developers-Guide/index.xml,,$(wildcard Samba-Developers-Guide/*.xml)) Samba-Developers-Guide-attributions.xml
@@ -67,6 +65,7 @@ htmlman: $(patsubst $(MANPAGEDIR)/%.xml,$(HTMLDIR)/%.html,$(MANPAGES)) $(HTMLDIR
html-single: $(patsubst $(DOCBOOKDIR)/%.xml,$(HTMLDIR)/%.html,$(MAIN_DOCS))
html: $(patsubst $(DOCBOOKDIR)/%.xml,$(HTMLDIR)/%/index.html,$(MAIN_DOCS)) $(HTMLDIR)/index.html
htmlhelp: $(patsubst $(DOCBOOKDIR)/%.xml,$(HTMLHELPDIR)/%,$(MAIN_DOCS))
+validate: $(patsubst $(DOCBOOKDIR)/%.xml,$(VALIDATEDIR)/%.report.html,$(MAIN_DOCS))
# Intermediate docbook docs
@@ -230,8 +229,6 @@ $(VALIDATEDIR)/%.report.html: %/index.xml
mkdir -p $(@D)
$(XMLLINT) --xinclude --postvalid --noout --htmlout $< 2> $@
-validate: $(VALIDATEDIR)/Samba-HOWTO-Collection.report.html $(VALIDATEDIR)/Samba-Developers-Guide.report.html $(VALIDATEDIR)/Samba-Guide.report.html
-
# Find undocumented parameters
undocumented: $(SMBDOTCONFDOC)/parameters.all.xml scripts/find_missing_doc.pl scripts/find_missing_manpages.pl
@$(PERL) scripts/find_missing_doc.pl $(SRCDIR)
@@ -249,8 +246,8 @@ samples: $(DOCBOOKDIR)/Samba-HOWTO-Collection.xml xslt/extract-examples.xsl scri
# Archiving
archive: pdf
mkdir -p $(ARCHIVEDIR)
- cp $(PDFDIR)/Samba-HOWTO-Collection.pdf $(ARCHIVEDIR)/TOSHARG-`date +%Y%m%d%H%M%S`.pdf
- cp $(PDFDIR)/Samba-Guide.pdf $(ARCHIVEDIR)/S3bE-`date +%Y%m%d%H%M%S`.pdf
+ cp $(PDFDIR)/Samba-HOWTO-Collection.pdf $(ARCHIVEDIR)/TOSHARG-$(shell date +%Y%m%d%H%M%S).pdf
+ cp $(PDFDIR)/Samba-Guide.pdf $(ARCHIVEDIR)/S3bE-$(shell date +%Y%m%d%H%M%S).pdf
# XSL scripts
xslt/html.xsl: xslt/html-common.xsl settings.xsl