diff en/Makefile @ 711:f107ab150809

Generate a standalone XML file.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 31 Mar 2009 12:25:03 -0700
parents 9e8e5292acaa
children c8680784cdbb
line wrap: on
line diff
--- 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