hgbook

diff en/Makefile @ 681:557552d4699f

Add IDs to paragraphs.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Apr 21 23:51:47 2009 -0700 (2009-04-21)
parents 1c13ed2130a7 fbb4340be17a
children 88828b784971
line diff
     1.1 --- a/en/Makefile	Mon Mar 30 16:23:33 2009 +0800
     1.2 +++ b/en/Makefile	Tue Apr 21 23:51:47 2009 -0700
     1.3 @@ -110,7 +110,7 @@
     1.4  hg-version = $(shell hg version -q | \
     1.5  		     sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,')
     1.6  
     1.7 -all: web
     1.8 +all: web complete.xml
     1.9  
    1.10  ../stylesheets/system-xsl: $(system-xsl-dir)
    1.11  	ln -s $< $@
    1.12 @@ -120,7 +120,7 @@
    1.13  html: $(obj-web-read)/index.html
    1.14  
    1.15  ../web/index-read.html.in: ../web/genindex.py $(xml-src-files)
    1.16 -	$<
    1.17 +	cd ../web && ./genindex.py
    1.18  
    1.19  $(obj-web-read)/index.html: ../stylesheets/system-xsl .validated-00book.xml ../web/index-read.html.in
    1.20  	xsltproc $(xsltproc-opts) -o $(obj-web-read)/x ../stylesheets/chunk-stylesheet.xsl 00book.xml
    1.21 @@ -134,6 +134,9 @@
    1.22  	cp ../stylesheets/system-xsl/images/*.png $(obj-websup)/figs
    1.23  	cp -f ../web/icons/*.png $(obj-websup)/figs
    1.24  
    1.25 +complete.xml: .validated-00book.xml
    1.26 +	$(xsltproc) $(xsltproc-opts) -o $@ ../stylesheets/dtd-profile.xsl 00book.xml
    1.27 +
    1.28  all-ids.dat: ../stylesheets/all-ids.xsl $(xml-src-files)
    1.29  	$(xsltproc) $(xsltproc-opts) -o $@ ../stylesheets/all-ids.xsl 00book.xml
    1.30  
    1.31 @@ -141,7 +144,7 @@
    1.32  
    1.33  valid: .validated-00book.xml
    1.34  
    1.35 -.validated-00book.xml: $(xml-src-files)
    1.36 +.validated-00book.xml: $(xml-src-files) examples/.run
    1.37  	$(xmllint) --path '$(dtd-dir):$(xml-path)' $(xmllint-opts) $<
    1.38  	touch $@
    1.39  
    1.40 @@ -172,7 +175,7 @@
    1.41  examples: $(example-prereqs) examples/.run
    1.42  
    1.43  examples/.run: $(example-sources)
    1.44 -	cd examples && ./run-example
    1.45 +	cd examples && ./run-example -a
    1.46  
    1.47  examples/%.run: examples/% examples/run-example
    1.48