aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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