Changeset ec008670 for BOOK/Makefile
- Timestamp:
- Jun 4, 2011, 8:30:53 AM (14 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 229ed25
- Parents:
- cfb2026a (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
rcfb2026a rec008670 1 TOP := $( PWD)1 TOP := $(shell pwd) 2 2 RENDERDIR := $(TOP)/../render 3 3 … … 54 54 @echo "Rendering the top-level index..." 55 55 $(Q)xsltproc --nonet --output $(HTMLDIR)/index.html \ 56 $( PWD)/stylesheets/top-index.xsl \57 $( PWD)/index.xml56 $(TOP)/stylesheets/top-index.xsl \ 57 $(TOP)/index.xml 58 58 @$(MAKE) --no-print-directory tidy-f TIDY_FILE=$(HTMLDIR)/index.html 59 59 … … 67 67 --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \ 68 68 -o $(VALIDATEDIR)/$(arch)-full.xml \ 69 $( PWD)/$(arch)-index.xml69 $(TOP)/$(arch)-index.xml 70 70 71 71 ARCHS_P_XML := $(ARCHS:%=%-profiled-xml) … … 78 78 $(Q)xsltproc --nonet --stringparam profile.condition html \ 79 79 --output $(PROFILEDIR)/$(arch)-html.xml \ 80 $( PWD)/stylesheets/lfs-xsl/profile.xsl \80 $(TOP)/stylesheets/lfs-xsl/profile.xsl \ 81 81 $(VALIDATEDIR)/$(arch)-full.xml 82 82 … … 93 93 -stringparam rootid "$(ROOT_ID)" \ 94 94 -stringparam base.dir $(HTMLDIR)/$(arch)/ \ 95 $( PWD)/stylesheets/clfs-chunked.xsl \95 $(TOP)/stylesheets/clfs-chunked.xsl \ 96 96 $(PROFILEDIR)/$(arch)-html.xml 97 97 98 98 @echo "Copying CSS code and images for $(arch)..." 99 99 $(Q)mkdir -p $(HTMLDIR)/$(arch)/stylesheets 100 $(Q)cp $( PWD)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets100 $(Q)cp $(TOP)/stylesheets/lfs-xsl/*.css $(HTMLDIR)/$(arch)/stylesheets 101 101 $(Q)sed -i -e "s@../stylesheets@stylesheets@g" $(HTMLDIR)/$(arch)/*.html 102 102 $(Q)mkdir -p $(HTMLDIR)/$(arch)/images 103 $(Q)cp $( PWD)/images/*.png $(HTMLDIR)/$(arch)/images103 $(Q)cp $(TOP)/images/*.png $(HTMLDIR)/$(arch)/images 104 104 $(Q)sed -i -e "s@../images@images@g" $(HTMLDIR)/$(arch)/*.html 105 105 … … 117 117 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ 118 118 --output $(NOCHUNKDIR)/CLFS-$(arch).html \ 119 $( PWD)/stylesheets/clfs-nochunks.xsl \119 $(TOP)/stylesheets/clfs-nochunks.xsl \ 120 120 $(PROFILEDIR)/$(arch)-html.xml 121 121 … … 133 133 $(Q)xsltproc --nonet -stringparam rootid "$(ROOT_ID)" \ 134 134 --output $(FODIR)/$(arch).fo \ 135 $( PWD)/stylesheets/clfs-pdf.xsl \135 $(TOP)/stylesheets/clfs-pdf.xsl \ 136 136 $(PROFILEDIR)/$(arch)-html.xml 137 137 $(Q)sed -i -e 's/span="inherit"/span="all"/' $(FODIR)/$(arch).fo … … 156 156 $(Q)xmllint --xinclude --noout --nonet \ 157 157 --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \ 158 $( PWD)/$(arch)-index.xml158 $(TOP)/$(arch)-index.xml 159 159 160 160 ARCHS_TROUBLE := $(ARCHS:%=%-trouble) … … 168 168 --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \ 169 169 -o $(TROUBLEDIR)/dump-$(arch) \ 170 $( PWD)/$(arch)-index.xml170 $(TOP)/$(arch)-index.xml 171 171 $(Q)xmllint --xinclude --noout --nonet \ 172 172 --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \ … … 183 183 $(Q)xsltproc --xinclude --nonet \ 184 184 --output $(DUMPDIR)/$(arch)/ \ 185 $( PWD)/stylesheets/dump-commands.xsl \186 $( PWD)/$(arch)-index.xml185 $(TOP)/stylesheets/dump-commands.xsl \ 186 $(TOP)/$(arch)-index.xml 187 187 188 188 ARCHS_DLLIST := $(ARCHS:%=%-dllist) … … 195 195 $(Q)xsltproc --xinclude --nonet \ 196 196 --output $(DLLISTDIR)/$(arch).list \ 197 $( PWD)/stylesheets/wget.xsl \198 $( PWD)/$(arch)-index.xml197 $(TOP)/stylesheets/wget.xsl \ 198 $(TOP)/$(arch)-index.xml 199 199 200 200 FG_GREEN := $(shell echo -e '\e[0;32m')
Note:
See TracChangeset
for help on using the changeset viewer.