mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
keeping sandbox clean
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2167 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
81679dd67d
commit
9c12e42d32
16
Makefile
16
Makefile
@ -7,7 +7,7 @@ INSTALL = install
|
||||
JADE = openjade
|
||||
DOCBOOK = /usr/share/sgml/docbook/dsssl-stylesheets-1.78
|
||||
BASEDIR= $(HOME)/public_html/blfs-book-xsl/
|
||||
TEXBASEDIR= $(HOME)/public_html/blfs-book-tex
|
||||
TEXBASEDIR= $(HOME)/public_html/blfs-book-tex/
|
||||
|
||||
SRCDIR = $(PWD)
|
||||
|
||||
@ -56,13 +56,19 @@ pdf:
|
||||
stylesheets/blfs-pdf.xsl \
|
||||
index.xml
|
||||
sed -i -e "s/inherit/all/" blfs.fo
|
||||
fop.sh blfs.fo blfs.pdf
|
||||
/opt/fop/fop.sh blfs.fo blfs.pdf
|
||||
$(INSTALL) -d $(BASEDIR)pdf
|
||||
rm blfs.fo
|
||||
mv blfs.pdf $(BASEDIR)pdf
|
||||
|
||||
print:
|
||||
xsltproc --xinclude --nonet --output blfs-print.fo \
|
||||
stylesheets/blfs-print.xsl index.xml
|
||||
sed -i -e "s/inherit/all/" blfs-print.fo
|
||||
fop.sh blfs-print.fo blfs-print.pdf
|
||||
/opt/fop/fop.sh blfs-print.fo blfs-print.pdf
|
||||
$(INSTALL) -d $(BASEDIR)print
|
||||
rm blfs-print.fo
|
||||
mv blfs-print.pdf $(BASEDIR)print
|
||||
|
||||
tex:
|
||||
@if [ -z $(TEXBASEDIR) ]; then \
|
||||
@ -74,12 +80,12 @@ tex:
|
||||
@$(INSTALL) -d $(TEXBASEDIR)
|
||||
# Using profiles in book source to exclude parts of the book from TeX
|
||||
# i.e. Changelog
|
||||
xsltproc --nonet --output $(TEXBASEDIR)/index.xml \
|
||||
xsltproc --nonet --output $(TEXBASEDIR)index.xml \
|
||||
--stringparam "profile.role" "book" \
|
||||
http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl \
|
||||
index.xml
|
||||
@cd $(TEXBASEDIR) && xsltproc --nonet -o blfs-book.tex \
|
||||
$(SRCDIR)/stylesheets/lfs-tex.xsl index.xml
|
||||
$(SRCDIR)/stylesheets/blfs-tex.xsl index.xml
|
||||
|
||||
validate:
|
||||
xmllint --noout --nonet index.xml
|
||||
|
@ -4,7 +4,7 @@
|
||||
<!ENTITY whois-desc SYSTEM "whois-desc.xml">
|
||||
<!ENTITY whois-version "4.6.14">
|
||||
<!ENTITY whois-download-http "http://www.linux.it/~md/software/whois_&whois-version;.tar.gz">
|
||||
<!ENTITY whois-download-ftp "">
|
||||
<!ENTITY whois-download-ftp " ">
|
||||
<!ENTITY whois-size "34 KB">
|
||||
<!ENTITY whois-buildsize "328 KB">
|
||||
<!ENTITY whois-time "0.01 SBU">
|
||||
|
Loading…
Reference in New Issue
Block a user