mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-10 14:24:10 +01:00
Updated the Makefile.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4029 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
68729574ca
commit
a03b9453f5
11
Makefile
11
Makefile
@ -1,7 +1,6 @@
|
|||||||
BASEDIR=~/lfs-book
|
BASEDIR=~/lfs-book
|
||||||
CHUNK_QUIET=0
|
CHUNK_QUIET=0
|
||||||
PDF_OUTPUT=LFS-BOOK.pdf
|
PDF_OUTPUT=LFS-BOOK.pdf
|
||||||
PRINT_OUTPUT=LFS-BOOK-PRINTABLE.pdf
|
|
||||||
NOCHUNKS_OUTPUT=LFS-BOOK.html
|
NOCHUNKS_OUTPUT=LFS-BOOK.html
|
||||||
XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
|
XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
|
||||||
|
|
||||||
@ -43,11 +42,11 @@ lfs:
|
|||||||
pdf:
|
pdf:
|
||||||
xsltproc --xinclude --nonet --stringparam profile.condition print \
|
xsltproc --xinclude --nonet --stringparam profile.condition print \
|
||||||
--output $(BASEDIR)/lfs-print.xml stylesheets/lfs-profile.xsl index-print.xml
|
--output $(BASEDIR)/lfs-print.xml stylesheets/lfs-profile.xsl index-print.xml
|
||||||
xsltproc --nonet --output $(BASEDIR)/lfs-print.fo stylesheets/lfs-print.xsl \
|
xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
|
||||||
$(BASEDIR)/lfs-print.xml
|
$(BASEDIR)/lfs-pdf.xml
|
||||||
sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-print.fo
|
sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo
|
||||||
fop.sh $(BASEDIR)/lfs-print.fo $(BASEDIR)/$(PRINT_OUTPUT)
|
fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT)
|
||||||
rm $(BASEDIR)/lfs-print.xml $(BASEDIR)/lfs-print.fo
|
rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo
|
||||||
|
|
||||||
nochunks:
|
nochunks:
|
||||||
xsltproc --xinclude --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
|
xsltproc --xinclude --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
|
||||||
|
Loading…
Reference in New Issue
Block a user