diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-06-16 16:20:05 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:54 -0500 |
commit | a4a8d71085f2df22bbebf1a39cb98864255ec9e2 (patch) | |
tree | c0c884321a90c2861ffea4a0f4b7bd354bfaf9a6 /docs | |
parent | 09915430fc01ca32ef28959ed2bb751b4977a852 (diff) | |
download | samba-a4a8d71085f2df22bbebf1a39cb98864255ec9e2.tar.gz samba-a4a8d71085f2df22bbebf1a39cb98864255ec9e2.tar.bz2 samba-a4a8d71085f2df22bbebf1a39cb98864255ec9e2.zip |
Makefile dependency updates
(This used to be commit d519625378fdc5a1c0192766095104fded5b628c)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.in | 35 | ||||
-rw-r--r-- | docs/manpages/smb.conf.5.xml (renamed from docs/smbdotconf/smb.conf.5.xml) | 4 | ||||
-rwxr-xr-x | docs/smbdotconf/generate-file-list.sh | 2 |
3 files changed, 19 insertions, 22 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in index 3a2af647cf..7bd60d7886 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -67,7 +67,7 @@ MANPAGES_PLUCKER = $(patsubst $(MANPAGEDIR)/%.xml,$(PLUCKERDIR)/%.pdb,$(MANPAGES HOWTODIR_IMAGES_PNG = $(wildcard $(IMAGEPROJDIR)/*.png) GUIDEDOC_IMAGES_PNG = $(wildcard $(IMAGEGUIDEDIR)/*.png) HOWTODIR_IMAGES_EPS=$(patsubst %.png,%.eps,$(wildcard $(IMAGEPROJDIR)/*.png)) -HOWTODIR_DEPS = $(HOWTODIR)/*.xml $(HOWTODIR)/attributions.xml $(MANPAGEDIR)/*.xml $(SMBDOTCONFDOC)/smb.conf.5.xml $(SMBDOTCONFDOC)/parameters.all.xml $(SMBDOTCONFDOC)/parameters.global.xml $(SMBDOTCONFDOC)/parameters.service.xml +HOWTODIR_DEPS = $(HOWTODIR)/*.xml $(HOWTODIR)/attributions.xml $(MANPAGEDIR)/*.xml smb.conf.5.xml $(SMBDOTCONFDOC)/parameters.all.xml $(SMBDOTCONFDOC)/parameters.global.xml $(SMBDOTCONFDOC)/parameters.service.xml DEVDOCDIR_DEPS = $(DEVDOCDIR)/*.xml $(DEVDOCDIR)/attributions.xml help: @@ -167,7 +167,7 @@ clean: rm -f Samba-HOWTO-Collection.* rm -f Samba-Developers-Guide.* rm -f Samba-Guide.* - rm -f $(IMAGEPROJDIR)/*.eps $(MANPAGEDIR)/smb.conf.5.xml + rm -f $(IMAGEPROJDIR)/*.eps # Text files $(TXTDIR): @@ -278,23 +278,16 @@ $(PLUCKERDIR)/%.pdb: $(HTMLDIR)/%.html $(XSLTPROC) --stringparam noreference 1 --output $@ xslt/expand-sambadoc.xsl $< # Manpages -$(SMBDOTCONFDOC)/parameters.all.xml: $(SMBDOTCONFDOC)/generate-file-list.sh - @cd $(SMBDOTCONFDOC) && /bin/sh generate-file-list.sh >parameters.all.xml +$(MANPAGEDIR)/smb.conf.5.xml: $(SMBDOTCONFDOC)/parameters.all.xml $(SMBDOTCONFDOC)/parameters.service.xml $(SMBDOTCONFDOC)/parameters.global.xml -$(SMBDOTCONFDOC)/parameters.global.xml: $(SMBDOTCONFDOC)/parameters.all.xml $(SMBDOTCONFDOC)/generate-context.xsl - $(XSLTPROC) --xinclude --param smb.context "'G'" \ - --output parameters.global.xml \ - $(SMBDOTCONFDOC)/generate-context.xsl $(SMBDOTCONFDOC)/parameters.all.xml +$(SMBDOTCONF)/parameters.all.xml: + @cd $(SMBDOTCONFDOC) && /bin/sh generate-file-list.sh >parameters.all.xml -$(SMBDOTCONFDOC)/parameters.service.xml: $(SMBDOTCONFDOC)/parameters.all.xml $(SMBDOTCONFDOC)/generate-context.xsl - $(XSLTPROC) --xinclude \ - --param smb.context "'S'" \ - --output parameters.service.xml \ - $(SMBDOTCONFDOC)/generate-context.xsl $(SMBDOTCONFDOC)/parameters.all.xml +$(SMBDOTCONFDOC)/parameters.global.xml: $(SMBDOTCONFDOC)/parameters.all.xml + $(XSLTPROC) --xinclude --param smb.context "'G'" --output $(SMBDOTCONFDOC)/parameters.global.xml $(SMBDOTCONFDOC)/generate-context.xsl $< -smb.conf.5.xml: $(SMBDOTCONFDOC)/smb.conf.5.xml $(SMBDOTCONFDOC)/parameters.all.xml \ - $(SMBDOTCONFDOC)/parameters.global.xml $(SMBDOTCONFDOC)/parameters.service.xml - $(XSLTPROC) --stringparam noreference 1 --xinclude --output $@ xslt/expand-sambadoc.xsl $< +$(SMBDOTCONFDOC)/parameters.service.xml: $(SMBDOTCONFDOC)/parameters.all.xml + $(XSLTPROC) --xinclude --param smb.context "'S'" --output $(SMBDOTCONFDOC)/parameters.service.xml $(SMBDOTCONFDOC)/generate-context.xsl $< $(MANDIR): mkdir $(MANDIR) @@ -305,10 +298,14 @@ $(MANDIR)/%: %.xml $(PEARSONDIR): mkdir $@ -$(PEARSONDIR)/%.xml: %.xml +$(PEARSONDIR)/%.xml: %.xml $(PEARSONDIR) $(XSLTPROC) --xinclude --output $@ xslt/pearson.xsl $< -pearson: $(PEARSONDIR) $(PEARSONDIR)/Samba-HOWTO-Collection.xml +$(PEARSONDIR)/%.report.html: $(PEARSONDIR)/%.xml + $(XMLLINT) --valid --noout --htmlout $< 2> $@ + +pearson: $(PEARSONDIR)/Samba-HOWTO-Collection.xml +pearson-verify: $(PEARSONDIR)/Samba-HOWTO-Collection.report.html $(VALIDATEDIR): mkdir $@ @@ -316,7 +313,7 @@ $(VALIDATEDIR): $(VALIDATEDIR)/%.report.html: %.xml $(XMLLINT) --valid --noout --htmlout $< 2> $@ -verify: $(VALIDATEDIR) $(VALIDATEDIR)/Samba-HOWTO-Collection.report.html $(VALIDATEDIR)/Samba-Developers-Guide.report.html $(VALIDATEDIR)/Samba-Guide.report.html $(PEARSONDIR)/Samba-HOWTO-Collection.xml +verify: $(VALIDATEDIR) $(VALIDATEDIR)/Samba-HOWTO-Collection.report.html $(VALIDATEDIR)/Samba-Developers-Guide.report.html $(VALIDATEDIR)/Samba-Guide.report.html # Find undocumented parameters diff --git a/docs/smbdotconf/smb.conf.5.xml b/docs/manpages/smb.conf.5.xml index 19b4fdc3fb..a81f8e0274 100644 --- a/docs/smbdotconf/smb.conf.5.xml +++ b/docs/manpages/smb.conf.5.xml @@ -1,4 +1,4 @@ -<refentry id="smb.conf.5"> +<refentry id="smb.conf.5" xmlns:xi="http://www.w3.org/2003/XInclude"> <refmeta> <refentrytitle>smb.conf</refentrytitle> @@ -589,7 +589,7 @@ alias|alias|alias|alias... <refsect1> <title>EXPLANATION OF EACH PARAMETER</title> - <xi:include href="../smbdotconf/parameters.all.xml" parse="xml" xmlns:xi="http://www.w3.org/2003/XInclude"/> + <xi:include href="../smbdotconf/parameters.all.xml" parse="xml"/> </refsect1> diff --git a/docs/smbdotconf/generate-file-list.sh b/docs/smbdotconf/generate-file-list.sh index 95cf0d6746..d50d77d76d 100755 --- a/docs/smbdotconf/generate-file-list.sh +++ b/docs/smbdotconf/generate-file-list.sh @@ -2,7 +2,7 @@ echo "<variablelist>" for I in `find . -type f -name '*.xml' -mindepth 2 | sort -t/ -k3 | xargs` do - echo "<xi:include href='$I' parse='xml' xmlns:xi='http://www.w3.org/2003/XInclude'/>" + echo "<xi:include href='$I' parse='xml'/>" done echo "</variablelist>" |