Mercurial > hgbook
comparison en/Makefile @ 749:7e7c47481e4f
Oops, this is the real merge for my hg's oddity
author | Dongsheng Song <dongsheng.song@gmail.com> |
---|---|
date | Fri, 20 Mar 2009 16:43:35 +0800 |
parents | d0160b0b1a9e |
children | 1c13ed2130a7 |
comparison
equal
deleted
inserted
replaced
748:d13c7c706a58 | 749:7e7c47481e4f |
---|---|
128 hg-version = $(shell hg version -q | \ | 128 hg-version = $(shell hg version -q | \ |
129 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') | 129 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') |
130 | 130 |
131 all: web | 131 all: web |
132 | 132 |
133 ../stylesheets/system-xsl: $(system-xsl-dir) | 133 ../xsl/system-xsl: $(system-xsl-dir) |
134 ln -s $< $@ | 134 ln -s $< $@ |
135 | 135 |
136 web: ../xsl/system-xsl websup html | 136 web: ../xsl/system-xsl websup html |
137 | 137 |
138 html: ../stylesheets/system-xsl $(xml-src-files) valid | 138 html: ../xsl/system-xsl $(xml-src-files) valid |
139 xsltproc $(xsltproc-opts) -o html/read/x ../stylesheets/chunk-stylesheet.xsl 00book.xml | 139 xsltproc $(xsltproc-opts) -o html/read/x ../xsl/chunk-stylesheet.xsl 00book.xml |
140 for i in html/read/*.html; do \ | 140 for i in html/read/*.html; do \ |
141 gzip -9 -c $$i > $$i.gz; \ | 141 gzip -9 -c $$i > $$i.gz; \ |
142 done | 142 done |
143 | 143 |
144 websup: $(extras-web) | 144 websup: $(extras-web) |
145 mkdir -p $(obj-websup)/images | 145 mkdir -p $(obj-websup)/figs |
146 cp ../stylesheets/system-xsl/images/*.png $(obj-websup)/images | 146 cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs |
147 cp -f ../web/icons/*.png $(obj-websup)/images | 147 cp -f ../web/icons/*.png $(obj-websup)/figs |
148 | |
149 all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files) | |
150 $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml | |
148 | 151 |
149 web: websup | 152 web: websup |
150 | 153 |
151 valid: .validated-00book.xml | 154 valid: .validated-00book.xml |
152 | 155 |