Changeset bc7834d for BOOK/Makefile
- Timestamp:
- Jan 1, 2010, 3:44:49 PM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ff39de2
- Parents:
- 2b77c9d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/Makefile
r2b77c9d4 rbc7834d 8 8 RENDERTMP := $(WORKDIR)/tmp 9 9 CHUNK_QUIET := 1 10 ROOT_ID 10 ROOT_ID := 11 11 12 12 S := - … … 14 14 ARCHS := x86 x86_64 x86_64-64 sparc sparc64 sparc64-64 mips mips64 mips64-64 \ 15 15 ppc ppc64 alpha 16 17 ARCHS_P_XML := $(ARCHS:%=%-profiled-xml) 16 18 17 19 ARCHS_HTML := $(ARCHS:%=%$(S)html) … … 61 63 $(PWD)/stylesheets/top-index.xsl $(PWD)/index.xml 62 64 65 $(ARCHS_P_XML): override profiled_xml_arch = $(@:%-profiled-xml=%) 66 $(ARCHS_P_XML): 67 @echo "Validating $(profiled_xml_arch) book..." 68 $(Q)xmllint --nonet --noent --xinclude --postvalid \ 69 -o $(RENDERTMP)/$(profiled_xml_arch)-full.xml $(PWD)/$(profiled_xml_arch)-index.xml 70 71 @echo "Generating profiled $(profiled_xml_arch) book for XHTML..." 72 $(Q)xsltproc --nonet --stringparam profile.condition html \ 73 --output $(RENDERTMP)/$(profiled_xml_arch)-html.xml \ 74 $(PWD)/stylesheets/lfs-xsl/profile.xsl $(RENDERTMP)/$(profiled_xml_arch)-full.xml 75 63 76 $(ARCHS_HTML): override html_arch = $(@:%$(S)html=%) 64 77 $(ARCHS_HTML): 65 @echo "Validating $(html_arch) book..." 66 $(Q)xmllint --nonet --noent --xinclude --postvalid \ 67 -o $(RENDERTMP)/$(html_arch)-full.xml $(PWD)/$(html_arch)-index.xml 68 69 @echo "Generating profiled $(html_arch) book for XHTML..." 70 $(Q)xsltproc --nonet --stringparam profile.condition html \ 71 --output $(RENDERTMP)/$(html_arch)-html.xml \ 72 $(PWD)/stylesheets/lfs-xsl/profile.xsl $(RENDERTMP)/$(html_arch)-full.xml 78 @$(MAKE) $(html_arch)-profiled-xml 73 79 74 80 @echo "Rendering chunked XHTML of $(html_arch)..." … … 91 97 $(ARCHS_NOCHUNKS): override nochunk_arch = $(@:%$(S)nochunks=%) 92 98 $(ARCHS_NOCHUNKS): 93 @echo "Validating $(nochunk_arch) book..." 94 $(Q)xmllint --nonet --noent --xinclude --postvalid \ 95 -o $(RENDERTMP)/$(nochunk_arch)-full.xml $(PWD)/$(nochunk_arch)-index.xml 96 97 @echo "Generating profiled $(nochunk_arch) book for XHTML..." 98 $(Q)xsltproc --nonet --stringparam profile.condition html \ 99 --output $(RENDERTMP)/$(nochunk_arch)-html.xml \ 100 $(PWD)/stylesheets/lfs-xsl/profile.xsl \ 101 $(RENDERTMP)/$(nochunk_arch)-full.xml 99 @$(MAKE) $(nochunk_arch)-profiled-xml 102 100 103 101 @echo "Rendering Single File HTML of $(nochunk_arch)..." … … 118 116 $(ARCHS_PDF): override pdf_arch = $(@:%$(S)pdf=%) 119 117 $(ARCHS_PDF): 120 @echo "Validating $(pdf_arch) book..." 121 $(Q)xmllint --nonet --noent --xinclude --postvalid \ 122 -o $(RENDERTMP)/$(pdf_arch)-full.xml $(PWD)/$(pdf_arch)-index.xml 123 124 @echo "Generating profiled $(pdf_arch) book for PDF..." 125 $(Q)xsltproc --nonet --stringparam profile.condition pdf \ 126 --output $(RENDERTMP)/$(pdf_arch)-pdf.xml \ 127 $(PWD)/stylesheets/lfs-xsl/profile.xsl \ 128 $(RENDERTMP)/$(pdf_arch)-full.xml 118 @$(MAKE) $(pdf_arch)-profiled-xml 129 119 130 120 @echo "Generating FO file of $(pdf_arch)..."
Note:
See TracChangeset
for help on using the changeset viewer.