Mercurial > hgbook
comparison en/Makefile @ 731:c88aa4edf9df
Follow up 586:0e3d8f66bbb7 and 587:bae6d1503482, adjust Makefile and .hgignore
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Thu, 12 Mar 2009 21:48:08 +0800 |
parents | bebd5ff7fe7f |
children | 9038da8b2d22 |
comparison
equal
deleted
inserted
replaced
730:f7d674e6e736 | 731:c88aa4edf9df |
---|---|
124 hg-version = $(shell hg version -q | \ | 124 hg-version = $(shell hg version -q | \ |
125 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') | 125 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') |
126 | 126 |
127 all: web | 127 all: web |
128 | 128 |
129 ../xsl/system-xsl: $(system-xsl-dir) | 129 ../stylesheets/system-xsl: $(system-xsl-dir) |
130 ln -s $< $@ | 130 ln -s $< $@ |
131 | 131 |
132 web: websup html | 132 web: websup html |
133 | 133 |
134 html: ../xsl/system-xsl $(xml-src-files) valid | 134 html: ../stylesheets/system-xsl $(xml-src-files) valid |
135 xsltproc $(xsltproc-opts) -o html/read/x ../xsl/chunk-stylesheet.xsl 00book.xml | 135 xsltproc $(xsltproc-opts) -o html/read/x ../stylesheets/chunk-stylesheet.xsl 00book.xml |
136 for i in html/read/*.html; do \ | 136 for i in html/read/*.html; do \ |
137 gzip -9 -c $$i > $$i.gz; \ | 137 gzip -9 -c $$i > $$i.gz; \ |
138 done | 138 done |
139 | 139 |
140 websup: $(extras-web) | 140 websup: $(extras-web) |
141 mkdir -p $(obj-websup)/figs | 141 mkdir -p $(obj-websup)/images |
142 cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs | 142 cp ../stylesheets/system-xsl/images/*.png $(obj-websup)/images |
143 cp -f ../web/icons/*.png $(obj-websup)/figs | 143 cp -f ../web/icons/*.png $(obj-websup)/images |
144 | 144 |
145 web: websup | 145 web: websup |
146 | 146 |
147 valid: .validated-00book.xml | 147 valid: .validated-00book.xml |
148 | 148 |