summaryrefslogtreecommitdiff
path: root/docs/Makefile.in
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2004-04-08 11:18:59 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:45:45 -0500
commit8c20a748bd0373daa66bd39bb303a1a8b61c6e2d (patch)
tree943a3d92650c4f208f2f97ebd51e3ab749ec2b30 /docs/Makefile.in
parent96d2ddfeb4b6129776cdeeeee58fe347cfc3637d (diff)
downloadsamba-8c20a748bd0373daa66bd39bb303a1a8b61c6e2d.tar.gz
samba-8c20a748bd0373daa66bd39bb303a1a8b61c6e2d.tar.bz2
samba-8c20a748bd0373daa66bd39bb303a1a8b61c6e2d.zip
Fix samba-docs build after svn conversion and Samba3 By Example addition.
Now we are able to build everything in samba-docs properly. (This used to be commit bb09f771958150e9465a5dc9d8e62aa8477c17a4)
Diffstat (limited to 'docs/Makefile.in')
-rw-r--r--docs/Makefile.in29
1 files changed, 16 insertions, 13 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in
index 7602476cb4..791a1532a9 100644
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -31,24 +31,25 @@ LATEX += --interaction nonstopmode
endif
# Paths
-OUTPUTDIR = output
-ARCHIVEDIR = output/archive
+TOPDIR = $(shell pwd)
+OUTPUTDIR = $(TOPDIR)/output
+ARCHIVEDIR = $(OUTPUTDIR)/archive
SRCDIR = @srcdir@
MANDIR=$(OUTPUTDIR)/manpages
EPSTOPDF = @EPSTOPDF@
-MANPAGEDIR = manpages
-HOWTODIR = howto
+MANPAGEDIR = $(TOPDIR)/manpages
+HOWTODIR = $(TOPDIR)/howto
MAKEINDEX = @MAKEINDEX@
IMAGEPROJDIR = $(HOWTODIR)/imagefiles
-GUIDEDOC = guide
-EXAMPLESDIR = examples
-DEVDOC = devdoc
-SMBDOTCONFDOC = smbdotconf
+GUIDEDOC = $(TOPDIR)/guide
+EXAMPLESDIR = $(TOPDIR)/examples
+DEVDOC = $(TOPDIR)/devdoc
+SMBDOTCONFDOC = $(TOPDIR)/smbdotconf
PSDIR = $(OUTPUTDIR)
PDFDIR = $(OUTPUTDIR)
DVIDIR = $(OUTPUTDIR)
TXTDIR = $(OUTPUTDIR)/textdocs
-FAQHOWTODIR = faq
+FAQHOWTODIR = $(TOPDIR)/faq
FAQDIR = $(OUTPUTDIR)/faq
HTMLDIR=$(OUTPUTDIR)/htmldocs
PLUCKERDIR=$(OUTPUTDIR)/plucker
@@ -153,7 +154,7 @@ clean:
rm -f $(PLUCKERDIR)/*.pdb
# Text files
-$(TXTDIR):
+$(TXTDIR): $(OUTPUTDIR)
mkdir $(TXTDIR)
$(TXTDIR)/%.txt: %.xml
@@ -196,12 +197,14 @@ $(PSDIR)/%.ps: $(DVIDIR)/%.dvi
xslt/figures/%.pdf: xslt/figures/%.eps
$(EPSTOPDF) $<
+$(OUTPUTDIR):
+ mkdir $(OUTPUTDIR)
# Single large HTML files
-$(HTMLDIR):
+$(HTMLDIR): $(OUTPUTDIR)
mkdir $(HTMLDIR)
-$(PLUCKERDIR):
+$(PLUCKERDIR): $(OUTPUTDIR)
mkdir $(PLUCKERDIR)
CSS: $(HTMLDIR) xslt/html/samba.css
@@ -248,7 +251,7 @@ smb.conf.5.xml: $(SMBDOTCONFDOC)/smb.conf.5.xml $(SMBDOTCONFDOC)/parameters.all.
$(SMBDOTCONFDOC)/parameters.global.xml $(SMBDOTCONFDOC)/parameters.service.xml
$(XSLTPROC) --stringparam noreference 1 --xinclude --output $@ xslt/expand-sambadoc.xsl $<
-$(MANDIR):
+$(MANDIR): $(OUTPUTDIR)
mkdir $(MANDIR)
$(MANDIR)/%: %.xml