aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-07-13 19:50:45 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-07-13 19:50:45 +0000
commit1d505377b8616fd112ce28b98c8c415c65b461f1 (patch)
tree969d28f1039188c979fb377cb918ae56b7aef4a1 /Makefile
parent83698f82d5c4230837846fc7b880bb91eecaac68 (diff)
Using profiles for print output.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3931 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6f61edeeb..295041553 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,9 @@ pdf:
fop.sh lfs.fo $(PDF_OUTPUT)
print:
- xsltproc --xinclude --nonet --output lfs-print.fo \
- stylesheets/lfs-print.xsl index.xml
+ 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)