diff options
author | John Terpstra <jht@samba.org> | 2004-04-26 21:09:39 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:45:48 -0500 |
commit | 739cacc7d2c6f1a2812f84b03bc67d5a1d8cbb07 (patch) | |
tree | e505d5892e163c723d3d471246897ea1861924fa | |
parent | f87dad995061b7a9dd87e05dbc320792893aaa85 (diff) | |
download | samba-739cacc7d2c6f1a2812f84b03bc67d5a1d8cbb07.tar.gz samba-739cacc7d2c6f1a2812f84b03bc67d5a1d8cbb07.tar.bz2 samba-739cacc7d2c6f1a2812f84b03bc67d5a1d8cbb07.zip |
Adding Samba-Guide HTML file.
(This used to be commit 007ffb659d53c79ae1a2ac4e9f2a81be877476ff)
-rw-r--r-- | docs/Makefile.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in index 4a03a94f3f..78b567a006 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -38,11 +38,12 @@ MANDIR = $(OUTPUTDIR)/manpages EPSTOPDF = @EPSTOPDF@ MANPAGEDIR = $(TOPDIR)/manpages HOWTODIR = $(TOPDIR)/howto +GUIDEDOC = $(TOPDIR)/guide +DEVDOCDIR = $(TOPDIR)/devel MAKEINDEX = @MAKEINDEX@ IMAGEPROJDIR = $(HOWTODIR)/imagefiles -GUIDEDOC = $(TOPDIR)/guide +IMAGEGUIDEDIR = $(GUIDEDOC)/images EXAMPLESDIR = $(TOPDIR)/examples -DEVDOCDIR = $(TOPDIR)/devel SMBDOTCONFDOC = $(TOPDIR)/smbdotconf PSDIR = $(OUTPUTDIR) PDFDIR = $(OUTPUTDIR) @@ -59,6 +60,7 @@ MANPAGES_HTML = $(patsubst $(MANPAGEDIR)/%.xml,$(HTMLDIR)/%.html,$(MANPAGES_SOUR MANPAGES_PLUCKER = $(patsubst $(MANPAGEDIR)/%.xml,$(PLUCKERDIR)/%.pdb,$(MANPAGES_SOURCES)) $(PLUCKERDIR)/smb.conf.5.pdb HOWTODIR_IMAGES_PNG = $(wildcard $(IMAGEPROJDIR)/*.png) +GUIDEDOC_IMAGES_PNG = $(wildcard $(IMAGEPROJDIR)/*.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 DEVDOCDIR_DEPS = $(DEVDOCDIR)/*.xml $(DEVDOCDIR)/attributions.xml @@ -87,7 +89,7 @@ all: @TARGETS@ everything: manpages pdf html-single html htmlman txt ps -release: manpages htmlman html html-single pdf guide +release: manpages htmlman html sg-html html-single pdf guide # Global rules @@ -112,7 +114,14 @@ html: $(HTMLDIR) CSS Samba-HOWTO-Collection.xml $(HTMLDIR)/Samba-Developers-Guid @if [ ! -d $(HTMLDIR)/images/ ]; then \ mkdir $(HTMLDIR)/images/; \ fi \ - && cp -p $(HOWTODIR)/imagefiles/*png $(HTMLDIR)/images/ + && cp -p $(GUIDEDOC)/imagefiles/*png $(HTMLDIR)/images/ + +sg-html: $(HTMLDIR) CSS Samba-Guide.xml + $(XSLTPROC) -o "$(HTMLDIR)/" xslt/html-chunk.xsl Samba-Guide.xml + @if [ ! -d $(HTMLDIR)/images/ ]; then \ + mkdir $(HTMLDIR)/images/; \ + fi \ + && cp -p $(HOWTODIR)/images/*png $(HTMLDIR)/images/ manpages: $(MANDIR) $(MANPAGES) @@ -208,6 +217,9 @@ CSS: $(HTMLDIR) xslt/html/samba.css $(HTMLDIR)/Samba-HOWTO-Collection.html: Samba-HOWTO-Collection.xml $(HOWTODIR_DEPS) $(HOWTODIR_IMAGES_PNG) $(XSLTPROC) --output $@ xslt/html.xsl $< +$(HTMLDIR)/Samba-Guide.html: Samba-Guide.xml $(GUIDEDOC_IMAGES_PNG) + $(XSLTPROC) --output $@ xslt/html.xsl $< + $(HTMLDIR)/Samba-Developers-Guide.html: Samba-Developers-Guide.xml $(DEVDOCDIR_DEPS) $(XSLTPROC) --output $@ xslt/html.xsl $< |