hgbook

diff en/Makefile @ 613:f107ab150809

Generate a standalone XML file.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue Mar 31 12:25:03 2009 -0700 (2009-03-31)
parents 9e8e5292acaa
children c8680784cdbb
line diff
     1.1 --- a/en/Makefile	Fri Mar 27 00:41:15 2009 -0700
     1.2 +++ b/en/Makefile	Tue Mar 31 12:25:03 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  ../xsl/system-xsl: $(system-xsl-dir)
    1.11  	ln -s $< $@
    1.12 @@ -134,6 +134,9 @@
    1.13  	cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs
    1.14  	cp -f ../web/icons/*.png $(obj-websup)/figs
    1.15  
    1.16 +complete.xml: .validated-00book.xml
    1.17 +	$(xsltproc) $(xsltproc-opts) -o $@ ../xsl/dtd-profile.xsl 00book.xml
    1.18 +
    1.19  all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files)
    1.20  	$(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml
    1.21