Changeset 271d1f96 for BOOK/Makefile
- Timestamp:
- Jun 4, 2011, 8:28:21 AM (13 years ago)
- Children:
- 193eb68
- Parents:
- 0230c0a (diff), 622df7bc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/Makefile
r0230c0a r271d1f96 1 TOP := $( PWD)1 TOP := $(shell pwd) 2 2 RENDERDIR := $(TOP)/../render 3 3 … … 68 68 @echo "Rendering the top-level index..." 69 69 $(Q)xsltproc --nonet --output $(HTMLDIR)/index.html \ 70 $( PWD)/stylesheets/top-index.xsl \71 $( PWD)/index.xml70 $(TOP)/stylesheets/top-index.xsl \ 71 $(TOP)/index.xml 72 72 @$(MAKE) --no-print-directory tidy-f TIDY_FILE=$(HTMLDIR)/index.html 73 73 … … 81 81 --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \ 82 82 -o $(VALIDATEDIR)/$(arch)-full.xml \ 83 $( PWD)/$(arch)-index.xml \83 $(TOP)/$(arch)-index.xml \ 84 84 2>&1 | grep -v " validates$$"; \ 85 85 if test $${?} -ne 0; then true; else false; fi … … 96 96 --stringparam clfs.multilib "$($(arch)_ML)" \ 97 97 --output $(DBXMLDIR)/$(arch)-db.xml \ 98 $( PWD)/stylesheets/clfs-profile.xsl \98 $(TOP)/stylesheets/clfs-profile.xsl \ 99 99 $(VALIDATEDIR)/$(arch)-full.xml 100 100 … … 109 109 --stringparam profile.condition html \ 110 110 --output $(PROFILEDIR)/$(arch)-html.xml \ 111 $( PWD)/stylesheets/lfs-xsl/profile.xsl \111 $(TOP)/stylesheets/lfs-xsl/profile.xsl \ 112 112 $(DBXMLDIR)/$(arch)-db.xml 113 113 … … 136 136 -stringparam rootid "$(ROOT_ID)" \ 137 137 -stringparam base.dir $(HTMLDIR)/$(arch)/ \ 138 $( PWD)/stylesheets/clfs-chunked.xsl \138 $(TOP)/stylesheets/clfs-chunked.xsl \ 139 139 $(PROFILEDIR)/$(arch)-html.xml 140 140 141 141 @echo "Copying CSS code and images for $(arch)..." 142 142 $(Q)mkdir -p $(HTMLDIR)/$(arch)/stylesheets 143 $(Q)cp $( PWD)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets143 $(Q)cp $(TOP)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets 144 144 $(Q)sed -i -e "s@../stylesheets@stylesheets@g" $(HTMLDIR)/$(arch)/*.html 145 145 $(Q)mkdir -p $(HTMLDIR)/$(arch)/images 146 $(Q)cp $( PWD)/images/*.png $(HTMLDIR)/$(arch)/images146 $(Q)cp $(TOP)/images/*.png $(HTMLDIR)/$(arch)/images 147 147 $(Q)sed -i -e "s@../images@images@g" $(HTMLDIR)/$(arch)/*.html 148 148 … … 161 161 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ 162 162 --output $(NOCHUNKDIR)/CLFS-$(arch).html \ 163 $( PWD)/stylesheets/clfs-nochunks.xsl \163 $(TOP)/stylesheets/clfs-nochunks.xsl \ 164 164 $(PROFILEDIR)/$(arch)-html.xml 165 165 … … 178 178 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ 179 179 --output $(FODIR)/$(arch).fo \ 180 $( PWD)/stylesheets/clfs-pdf.xsl \180 $(TOP)/stylesheets/clfs-pdf.xsl \ 181 181 $(PROFILEDIR)/$(arch)-html.xml 182 182 $(Q)sed -i -e 's/span="inherit"/span="all"/' $(FODIR)/$(arch).fo … … 201 201 $(Q)xmllint --xinclude --noout --nonet \ 202 202 --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \ 203 $( PWD)/$(arch)-index.xml \203 $(TOP)/$(arch)-index.xml \ 204 204 2>&1 | grep -v " validates$$"; \ 205 205 if test $${?} -ne 0; then true; else false; fi … … 215 215 --relaxng $(TOP)/schema/clfs/0.1/rng/clfs.rng \ 216 216 -o $(TROUBLEDIR)/dump-$(arch) \ 217 $( PWD)/$(arch)-index.xml \217 $(TOP)/$(arch)-index.xml \ 218 218 2>&1 | grep -v " validates$$"; \ 219 219 if test $${?} -ne 0; then true; else false; fi … … 234 234 $(Q)xsltproc --xinclude --nonet \ 235 235 --output $(DUMPDIR)/$(arch)/ \ 236 $( PWD)/stylesheets/dump-commands.xsl \237 $( PWD)/$(arch)-index.xml236 $(TOP)/stylesheets/dump-commands.xsl \ 237 $(TOP)/$(arch)-index.xml 238 238 239 239 ARCHS_DLLIST := $(ARCHS:%=%-dllist) … … 246 246 $(Q)xsltproc --xinclude --nonet \ 247 247 --output $(DLLISTDIR)/$(arch).list \ 248 $( PWD)/stylesheets/wget.xsl \249 $( PWD)/$(arch)-index.xml248 $(TOP)/stylesheets/wget.xsl \ 249 $(TOP)/$(arch)-index.xml 250 250 251 251 FG_GREEN := $(shell echo -e '\e[0;32m')
Note:
See TracChangeset
for help on using the changeset viewer.