Mercurial > hgbook
comparison en/Makefile @ 712:c8680784cdbb
Make builds more reliable.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 31 Mar 2009 15:35:44 -0700 |
parents | f107ab150809 |
children | fbb4340be17a |
comparison
equal
deleted
inserted
replaced
711:f107ab150809 | 712:c8680784cdbb |
---|---|
118 web: ../xsl/system-xsl websup html | 118 web: ../xsl/system-xsl websup html |
119 | 119 |
120 html: $(obj-web-read)/index.html | 120 html: $(obj-web-read)/index.html |
121 | 121 |
122 ../web/index-read.html.in: ../web/genindex.py $(xml-src-files) | 122 ../web/index-read.html.in: ../web/genindex.py $(xml-src-files) |
123 $< | 123 cd ../web && ./genindex.py |
124 | 124 |
125 $(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml ../web/index-read.html.in | 125 $(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml ../web/index-read.html.in |
126 xsltproc $(xsltproc-opts) -o $(obj-web-read)/x ../xsl/chunk-stylesheet.xsl 00book.xml | 126 xsltproc $(xsltproc-opts) -o $(obj-web-read)/x ../xsl/chunk-stylesheet.xsl 00book.xml |
127 python ../web/texpand.py ../web/index-read.html.in html/read/index.html | 127 python ../web/texpand.py ../web/index-read.html.in html/read/index.html |
128 for i in $(obj-web-read)/*.html; do \ | 128 for i in $(obj-web-read)/*.html; do \ |
142 | 142 |
143 web: websup | 143 web: websup |
144 | 144 |
145 valid: .validated-00book.xml | 145 valid: .validated-00book.xml |
146 | 146 |
147 .validated-00book.xml: $(xml-src-files) | 147 .validated-00book.xml: $(xml-src-files) examples/.run |
148 $(xmllint) --path '$(dtd-dir):$(xml-path)' $(xmllint-opts) $< | 148 $(xmllint) --path '$(dtd-dir):$(xml-path)' $(xmllint-opts) $< |
149 touch $@ | 149 touch $@ |
150 | 150 |
151 # Produce 90dpi PNGs for the web. | 151 # Produce 90dpi PNGs for the web. |
152 | 152 |