Commits

Bryan O'Sullivan committed f107ab1

Generate a standalone XML file.

  • Participants
  • Parent commits 47fbf37

Comments (0)

Files changed (2)

 .run
 .validated-00book.xml
 en/all-ids.dat
+en/complete.xml
 web/hgbook/.database.sqlite3
 web/hgbook/secrets.py
 web/index-read.html.in
 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 $< $@
 	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