Changeset e9e9b47
- Timestamp:
- 04/13/2004 04:23:43 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- bc6304e
- Parents:
- eff3826
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
reff3826 re9e9b47 7 7 JADE = openjade 8 8 DOCBOOK = /usr/share/sgml/docbook/dsssl-stylesheets-1.78 9 BASEDIR= $(HOME)/public_html/blfs-book-xsl/ 10 TEXBASEDIR= $(HOME)/public_html/blfs-book-tex 9 11 10 12 SRCDIR = $(PWD) … … 15 17 exit 1 ; \ 16 18 fi 17 @echo "Generating HTML Version of BLFS Book ..."19 @echo "Generating HTML Version of BLFS Book with $(JADE)..." 18 20 @echo " OUTPUTDIR = $(OUTPUTDIR)" 19 21 @$(INSTALL) -d $(OUTPUTDIR) … … 21 23 connect basicnet server content x kde gnome xsoft \ 22 24 multimedia pst preface appendices other 23 @cd $(OUTPUTDIR) && $(JADE) -t sgml -d $(DOCBOOK)/html/ lfs.dsl \25 @cd $(OUTPUTDIR) && $(JADE) -t sgml -d $(DOCBOOK)/html/blfs.dsl \ 24 26 $(DOCBOOK)/dtds/decls/xml.dcl $(SRCDIR)/index.xml 25 27 26 BASEDIR=~/blfs-book/27 28 28 29 blfs: 30 @if [ -z $(BASEDIR) ]; then \ 31 echo "Envar BASEDIR is not set!" ; \ 32 exit 1 ; \ 33 fi 34 @echo "Generating XHTML Version of BLFS Book with xsltproc..." 35 @echo " BASEDIR = $(BASEDIR)" 36 @$(INSTALL) -d $(BASEDIR) 29 37 xsltproc --xinclude --nonet -stringparam base.dir $(BASEDIR) \ 30 38 stylesheets/blfs-chunked.xsl index.xml … … 46 54 47 55 pdf: 48 xsltproc --xinclude --nonet --output lfs.fo56 xsltproc --xinclude --nonet --output blfs.fo 49 57 stylesheets/blfs-pdf.xsl \ 50 58 index.xml 51 fop.sh lfs.folfs.pdf59 fop.sh blfs.fo blfs.pdf 52 60 61 tex: 62 @if [ -z $(TEXBASEDIR) ]; then \ 63 echo "Envar TEXBASEDIR is not set!" ; \ 64 exit 1 ; \ 65 fi 66 @echo "Generating TeX Version of BLFS Book with xsltproc..." 67 @echo " TEXBASEDIR = $(TEXBASEDIR)" 68 @$(INSTALL) -d $(TEXBASEDIR) 69 70 # Using profiles in book source to exclude parts of the book from TeX 71 # i.e. Changelog 72 xsltproc --nonet --output $(TEXBASEDIR)/index.xml \ 73 --stringparam "profile.role" "book" \ 74 http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl \ 75 index.xml 76 @cd $(TEXBASEDIR) && xsltproc --nonet -o blfs-book.tex \ 77 $(SRCDIR)/stylesheets/blfs-tex.xsl index.xml
Note:
See TracChangeset
for help on using the changeset viewer.