hgbook
changeset 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 | 47fbf3765997 |
children | c8680784cdbb |
files | .hgignore en/Makefile |
line diff
1.1 --- a/.hgignore Tue Mar 31 12:21:50 2009 -0700 1.2 +++ b/.hgignore Tue Mar 31 12:25:03 2009 -0700 1.3 @@ -16,6 +16,7 @@ 1.4 .run 1.5 .validated-00book.xml 1.6 en/all-ids.dat 1.7 +en/complete.xml 1.8 web/hgbook/.database.sqlite3 1.9 web/hgbook/secrets.py 1.10 web/index-read.html.in
2.1 --- a/en/Makefile Tue Mar 31 12:21:50 2009 -0700 2.2 +++ b/en/Makefile Tue Mar 31 12:25:03 2009 -0700 2.3 @@ -110,7 +110,7 @@ 2.4 hg-version = $(shell hg version -q | \ 2.5 sed 's,.*(version \(unknown\|[a-f0-9+]*\)),\1,') 2.6 2.7 -all: web 2.8 +all: web complete.xml 2.9 2.10 ../xsl/system-xsl: $(system-xsl-dir) 2.11 ln -s $< $@ 2.12 @@ -134,6 +134,9 @@ 2.13 cp ../xsl/system-xsl/images/*.png $(obj-websup)/figs 2.14 cp -f ../web/icons/*.png $(obj-websup)/figs 2.15 2.16 +complete.xml: .validated-00book.xml 2.17 + $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/dtd-profile.xsl 00book.xml 2.18 + 2.19 all-ids.dat: ../xsl/all-ids.xsl $(xml-src-files) 2.20 $(xsltproc) $(xsltproc-opts) -o $@ ../xsl/all-ids.xsl 00book.xml 2.21