Changeset 9288c84
- Timestamp:
- 01/05/2005 10:18:18 PM (19 years ago)
- Children:
- e464747
- Parents:
- 07c7a8d
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r07c7a8d r9288c84 12 12 # x86 13 13 xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch x86 \ 14 --output $(BASEDIR)/lfs-html.xml stylesheets/lfs-profile.xsl index.xml 15 16 xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \ 17 -stringparam base.dir $(BASEDIR)/x86/ stylesheets/lfs-chunked.xsl \ 18 $(BASEDIR)/lfs-html.xml 14 -stringparam base.dir $(BASEDIR)/x86/ stylesheets/lfs-chunked.xsl index.xml 19 15 20 16 if [ ! -e $(BASEDIR)/x86/stylesheets ]; then \ … … 33 29 *.html 34 30 35 rm $(BASEDIR)/lfs-html.xml36 37 31 # raq2 38 32 xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch raq2 \ 39 --output $(BASEDIR)/lfs-html.xml stylesheets/lfs-profile.xsl index.xml 40 41 xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \ 42 -stringparam base.dir $(BASEDIR)/raq2/ stylesheets/lfs-chunked.xsl \ 43 $(BASEDIR)/lfs-html.xml 33 -stringparam base.dir $(BASEDIR)/raq2/ stylesheets/lfs-chunked.xsl index.xml 44 34 45 35 if [ ! -e $(BASEDIR)/raq2/stylesheets ]; then \ … … 58 48 *.html 59 49 60 rm $(BASEDIR)/lfs-html.xml61 62 50 # ppc 63 51 xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch ppc \ 64 --output $(BASEDIR)/lfs-html.xml stylesheets/lfs-profile.xsl index.xml 65 66 xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \ 67 -stringparam base.dir $(BASEDIR)/ppc/ stylesheets/lfs-chunked.xsl \ 68 $(BASEDIR)/lfs-html.xml 52 -stringparam base.dir $(BASEDIR)/ppc/ stylesheets/lfs-chunked.xsl index.xml 69 53 70 54 if [ ! -e $(BASEDIR)/ppc/stylesheets ]; then \ … … 83 67 *.html 84 68 85 rm $(BASEDIR)/lfs-html.xml86 87 69 88 70 # common stuff … … 98 80 html: 99 81 xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch $(ARCH) \ 100 --output $(BASEDIR)/lfs-html.xml stylesheets/lfs-profile.xsl index.xml 101 102 xsltproc --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \ 103 -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl \ 104 $(BASEDIR)/lfs-html.xml 82 -stringparam base.dir $(BASEDIR)/ stylesheets/lfs-chunked.xsl index.xml 105 83 106 84 if [ ! -e $(BASEDIR)/stylesheets ]; then \ … … 118 96 cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \ 119 97 *.html 120 121 rm $(BASEDIR)/lfs-html.xml122 98 123 99 for filename in `find $(BASEDIR) -name "*.html"`; do \ … … 145 121 pdf: 146 122 xsltproc --xinclude --nonet --stringparam profile.condition pdf -stringparam profile.arch $(ARCH) \ 147 --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml 123 --output $(BASEDIR)/lfs-pdf.xml stylesheets/lfs-profile.xsl index.xml 124 148 125 xsltproc --nonet --output $(BASEDIR)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \ 149 126 $(BASEDIR)/lfs-pdf.xml 127 150 128 sed -i -e "s/inherit/all/" $(BASEDIR)/lfs-pdf.fo 129 151 130 fop.sh $(BASEDIR)/lfs-pdf.fo $(BASEDIR)/$(PDF_OUTPUT) 131 152 132 rm $(BASEDIR)/lfs-pdf.xml $(BASEDIR)/lfs-pdf.fo 153 133 154 134 nochunks: 155 135 xsltproc --xinclude --nonet -stringparam profile.condition html -stringparam profile.arch $(ARCH) \ 156 --output $(BASEDIR)/lfs-nochunk.xml stylesheets/lfs-profile.xsl index.xml 157 158 xsltproc --nonet --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \ 159 stylesheets/lfs-nochunks.xsl $(BASEDIR)/lfs-nochunk.xml 160 161 rm $(BASEDIR)/lfs-nochunk.xml 136 --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) stylesheets/lfs-nochunks.xsl index.xml 162 137 163 138 tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true -
stylesheets/lfs-chunked.xsl
r07c7a8d r9288c84 25 25 Voila! (Man I hope we can do this better in XSLT 2.0) --> 26 26 27 <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/ chunk-code.xsl"/>27 <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/profile-chunk-code.xsl"/> 28 28 29 29 <!-- Including our others customized chunks templates --> -
stylesheets/lfs-nochunks.xsl
r07c7a8d r9288c84 6 6 7 7 <!-- We use XHTML --> 8 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/ docbook.xsl"/>8 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/profile-docbook.xsl"/> 9 9 10 10 <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
Note:
See TracChangeset
for help on using the changeset viewer.