# HG changeset patch # User Bryan O'Sullivan # Date 1238527503 25200 # Node ID f107ab150809c89c9fcf9e3d6ff90eb42c1b8d22 # Parent 47fbf37659976ecb1bb9d03e12d59cedd0b3b384 Generate a standalone XML file. diff -r 47fbf3765997 -r f107ab150809 .hgignore --- a/.hgignore Tue Mar 31 12:21:50 2009 -0700 +++ b/.hgignore Tue Mar 31 12:25:03 2009 -0700 @@ -16,6 +16,7 @@ .run .validated-00book.xml en/all-ids.dat +en/complete.xml web/hgbook/.database.sqlite3 web/hgbook/secrets.py web/index-read.html.in diff -r 47fbf3765997 -r f107ab150809 en/Makefile --- a/en/Makefile Tue Mar 31 12:21:50 2009 -0700 +++ b/en/Makefile Tue Mar 31 12:25:03 2009 -0700 @@ -110,7 +110,7 @@ hg-version = $(shell hg version -q | \ sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') -all: web +all: web complete.xml ../xsl/system-xsl: $(system-xsl-dir) ln -s $< $@ @@ -134,6 +134,9 @@ cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs cp -f ../web/icons/*.png $(obj-websup)/figs +complete.xml: .validated-00book.xml + $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/dtd-profile.xsl 00book.xml + all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files) $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml