diff 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
line wrap: on
line diff
--- a/en/Makefile	Tue Mar 31 12:25:03 2009 -0700
+++ b/en/Makefile	Tue Mar 31 15:35:44 2009 -0700
@@ -120,7 +120,7 @@
 html: $(obj-web-read)/index.html
 
 ../web/index-read.html.in: ../web/genindex.py $(xml-src-files)
-	$<
+	cd ../web && ./genindex.py
 
 $(obj-web-read)/index.html: ../xsl/system-xsl .validated-00book.xml ../web/index-read.html.in
 	xsltproc $(xsltproc-opts) -o $(obj-web-read)/x ../xsl/chunk-stylesheet.xsl 00book.xml
@@ -144,7 +144,7 @@
 
 valid: .validated-00book.xml
 
-.validated-00book.xml: $(xml-src-files)
+.validated-00book.xml: $(xml-src-files) examples/.run
 	$(xmllint) --path '$(dtd-dir):$(xml-path)' $(xmllint-opts) $<
 	touch $@