|
@@ -34,22 +34,14 @@ lfs:
|
|
|
done;
|
|
|
|
|
|
# Uncomment this for testing and stable versions
|
|
|
-#pdf:
|
|
|
-# xsltproc --xinclude --nonet --stringparam profile.condition pdf \
|
|
|
-# --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
|
|
|
-# xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
|
|
|
-# $(BASEDIR)/lfs-pdf.xml
|
|
|
-# sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
|
|
|
-# fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
|
|
|
-# rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
|
|
|
-
|
|
|
-# Remove this for testing and stable versions
|
|
|
pdf:
|
|
|
- xsltproc --xinclude --nonet --output $(BASEDIR)/lfs-pdf.fo \
|
|
|
- stylesheets/lfs-pdf.xsl index.xml
|
|
|
+ xsltproc --xinclude --nonet --stringparam profile.condition pdf \
|
|
|
+ --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml
|
|
|
+ xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
|
|
|
+ $(BASEDIR)/lfs-pdf.xml
|
|
|
sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
|
|
|
fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
|
|
|
- rm $(BASEDIR)/lfs-pdf.fo
|
|
|
+ rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
|
|
|
|
|
|
nochunks:
|
|
|
xsltproc --xinclude --nonet -stringparam profile.condition html \
|