summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-04-26 23:05:31 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:45:48 -0500
commitde523d7744655acd50caee57d7b5a01471734503 (patch)
tree7053ab74e74b74e4007ccdfce9cd12c14ffbe949
parentcd6bf83ca24a7fe7c4db4914399f891452ed8d83 (diff)
downloadsamba-de523d7744655acd50caee57d7b5a01471734503.tar.gz
samba-de523d7744655acd50caee57d7b5a01471734503.tar.bz2
samba-de523d7744655acd50caee57d7b5a01471734503.zip
Docs successfully build into seperate directories now. Last thing to fix is the paths to the images
(This used to be commit d4a8635a85e01e2e00015afd4d094dc3d0882655)
-rw-r--r--docs/Makefile.in36
1 files changed, 15 insertions, 21 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in
index 4d1e95fa65..4583ce5ff0 100644
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -101,24 +101,28 @@ ps: $(PSDIR) $(PSDIR)/Samba-HOWTO-Collection.ps $(PSDIR)/Samba-Developers-Guide.
txt: $(TXTDIR) $(TXTDIR)/Samba-HOWTO-Collection.txt $(TXTDIR)/Samba-Developers-Guide.txt
-htmlman: $(HTMLDIR) $(MANPAGES_HTML) CSS
+htmlman: $(HTMLDIR) $(MANPAGES_HTML) $(HTMLDIR)/CSS
-html-single: $(HTMLDIR) CSS $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html $(HTMLDIR)/Samba-Guide.html
+html-single: $(HTMLDIR) $(HTMLDIR)/CSS $(HTMLDIR)/Samba-HOWTO-Collection.html $(HTMLDIR)/Samba-Developers-Guide.html $(HTMLDIR)/Samba-Guide.html
@if [ ! -d $(HTMLDIR)/images/ ]; then \
mkdir $(HTMLDIR)/images/; \
fi \
&& cp -p $(IMAGEPROJDIR)/*png $(HTMLDIR)/images/
-html: howto-html guide-html dev-html
+html: $(HTMLDIR)/howto $(HTMLDIR)/guide $(HTMLDIR)/devel
-howto-html: $(HTMLDIR) $(HTMLDIR)/howto CSS Samba-HOWTO-Collection.xml
+$(HTMLDIR)/howto: $(HTMLDIR) $(HTMLDIR)/howto/CSS Samba-HOWTO-Collection.xml
$(XSLTPROC) --stringparam base.dir "$(HTMLDIR)/howto/" xslt/html-chunk.xsl Samba-HOWTO-Collection.xml
+ -mkdir $(HTMLDIR)/howto/images
+ cp -R $(HOWTODIR_IMAGES_PNG) $(HTMLDIR)/howto/images
-dev-html: $(HTMLDIR) $(HTMLDIR)/devel CSS $(HTMLDIR)/Samba-Developers-Guide.xml
+$(HTMLDIR)/devel: $(HTMLDIR) $(HTMLDIR)/devel/CSS Samba-Developers-Guide.xml
$(XSLTPROC) --stringparam base.dir "$(HTMLDIR)/devel/" xslt/html-chunk.xsl Samba-Developers-Guide.xml
-sg-html: $(HTMLDIR) $(HTMLDIR)/guide CSS Samba-Guide.xml
- $(XSLTPROC) --stringparam base.dir "$(HTMLDIR)/guide" xslt/html-chunk.xsl Samba-Guide.xml
+$(HTMLDIR)/guide: $(HTMLDIR) $(HTMLDIR)/guide/CSS Samba-Guide.xml
+ $(XSLTPROC) --stringparam base.dir "$(HTMLDIR)/guide/" xslt/html-chunk.xsl Samba-Guide.xml
+ -mkdir $(HTMLDIR)/guide/images
+ cp -R $(GUIDEDOC_IMAGES_PNG) $(HTMLDIR)/guide/images
manpages: $(MANDIR) $(MANPAGES)
@@ -203,26 +207,16 @@ xslt/figures/%.pdf: xslt/figures/%.eps
$(HTMLDIR):
mkdir $(HTMLDIR)
- mkdir $(HTMLDIR)/images
-
-$(HTMLDIR)/guide:
+ mkdir $(HTMLDIR)/howto
mkdir $(HTMLDIR)/guide
- mkdir $(HTMLDIR)/guide/images
- cp -R $(GUIDEDOC_IMAGES_PNG) $(HTMLDIR)/guide/images
-
-$(HTMLDIR)/devel:
mkdir $(HTMLDIR)/devel
-
-$(HTMLDIR)/howto:
- mkdir $(HTMLDIR)/howto
- mkdir $(HTMLDIR)/howto/images
- cp -R $(HOWTODIR_IMAGES_PNG) $(HTMLDIR)/howto/images
+ mkdir $(HTMLDIR)/images
$(PLUCKERDIR):
mkdir $(PLUCKERDIR)
-CSS: $(HTMLDIR) xslt/html/samba.css
- cp xslt/html/samba.css $(HTMLDIR)/
+%/CSS: xslt/html/samba.css
+ cp $< $@
$(HTMLDIR)/Samba-HOWTO-Collection.html: Samba-HOWTO-Collection.xml $(HOWTODIR_DEPS) $(HOWTODIR_IMAGES_PNG)
$(XSLTPROC) --output $@ xslt/html.xsl $<