From c948b40772d679c96cffc260350a35b8c5e50b7a Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 6 Jul 2007 21:04:55 +0000 Subject: 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 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf