aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-06 21:04:55 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-06 21:04:55 +0000
commitc948b40772d679c96cffc260350a35b8c5e50b7a (patch)
treec103b08e77ac5da3e2be2899b7ce343bddbdb7a1 /Makefile
parent6dd1a9fb95c590d9270ef26c267b624e9bb7b34e (diff)
Fop requires $BASEDIR be created before generating the PDF
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8206 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4b7b16d07..85b6de7ed 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,9 @@ pdf: validxml
$(Q)sed -i -e 's/span="inherit"/span="all"/' /tmp/lfs-pdf.fo
@echo "Generating PDF file..."
+ $(Q)if [ ! -e $(BASEDIR) ]; then \
+ mkdir -p $(BASEDIR); \
+ fi;
$(Q)fop /tmp/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
nochunks: validxml profile-html