aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2004-08-10 19:20:54 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2004-08-10 19:20:54 +0000
commit536b6aa453aa6e7f569f5e91c5e58bdc9cdde26e (patch)
tree3d021e47c71c05b69ec19a247806c9ff8a48f59c /Makefile
parent3f82d653bfa3db89f2f34382ef2ea2d923dd8495 (diff)
Synced Makefile file from testing branch. Added index-print.xml from testing branch so PDF generation works properly for trunk too
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4022 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile36
1 files changed, 23 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 295041553..b2a1624fb 100644
--- a/Makefile
+++ b/Makefile
@@ -27,23 +27,33 @@ lfs:
sh goTidy $(BASEDIR)/
-pdf:
- xsltproc --xinclude --nonet --output lfs.fo stylesheets/lfs-pdf.xsl \
- index.xml
- sed -i -e "s/inherit/all/" lfs.fo
- fop.sh lfs.fo $(PDF_OUTPUT)
+#
+# This is the old "pdf" target. The old "print" target below has been
+# renamed to "pdf" and will be used. This commented out previous_pdf
+# target can be removed eventually. It'll remain here for a bit for
+# historical reasons
+#
+#previous_pdf:
+# xsltproc --xinclude --nonet --output $(BASEDIR)/lfs.fo stylesheets/lfs-pdf.xsl \
+# index.xml
+# sed -i -e "s/inherit/all/" $(BASEDIR)/lfs.fo
+# fop.sh $(BASEDIR)/lfs.fo $(BASEDIR)/$(PDF_OUTPUT)
+# rm lfs.fo
-print:
- xsltproc --xinclude --nonet --stringparam profile.condition print --output lfs-print.xml \
- stylesheets/lfs-profile.xsl index.xml
- xsltproc --nonet --output lfs-print.fo stylesheets/lfs-print.xsl lfs-print.xml
- sed -i -e "s/inherit/all/" lfs-print.fo
- fop.sh lfs-print.fo $(PRINT_OUTPUT)
+pdf:
+ xsltproc --xinclude --nonet --stringparam profile.condition print \
+ --output $(BASEDIR)/lfs-print.xml stylesheets/lfs-profile.xsl index-print.xml
+ xsltproc --nonet --output $(BASEDIR)/lfs-print.fo stylesheets/lfs-print.xsl \
+ $(BASEDIR)/lfs-print.xml
+ sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-print.fo
+ fop.sh $(BASEDIR)/lfs-print.fo $(BASEDIR)/$(PRINT_OUTPUT)
+ rm $(BASEDIR)/lfs-print.xml $(BASEDIR)/lfs-print.fo
nochunks:
- xsltproc --xinclude --nonet --output $(NOCHUNKS_OUTPUT) \
+ xsltproc --xinclude --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
stylesheets/lfs-nochunks.xsl index.xml
- tidy -config tidy.conf $(NOCHUNKS_OUTPUT) || true
+ tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
validate:
xmllint --noout --nonet --xinclude --postvalid index.xml
+