Add target for generating catalog.xml.
authorville
Thu, 10 Jun 2010 21:56:58 +0000
changeset 3075 ba653e217e4e
parent 3074 4ca93938aa6e
child 3076 e9eb652b2cf3
Add target for generating catalog.xml.
Makefile
--- a/Makefile	Tue Jun 08 15:12:56 2010 +0000
+++ b/Makefile	Thu Jun 10 21:56:58 2010 +0000
@@ -9,11 +9,14 @@
 
 VALIDATOR_URI = http://localhost/w3c-validator/check
 
-all: htdocs/docs/errors.html
+all: htdocs/docs/errors.html htdocs/sgml-lib/catalog.xml
 
 htdocs/docs/errors.html: misc/docs_errors.pl share/templates/en_US/error_messages.cfg share/templates/en_US/docs_errors.tmpl htdocs/config/validator.conf
 	env W3C_VALIDATOR_HOME=. W3C_VALIDATOR_CFG=htdocs/config/validator.conf misc/docs_errors.pl > $@
 
+htdocs/sgml-lib/catalog.xml: misc/soc2xml.pl htdocs/sgml-lib/xml.soc
+	misc/soc2xml.pl < htdocs/sgml-lib/xml.soc > $@
+
 test:
 	misc/testsuite/harness.py --validator_uri=$(VALIDATOR_URI) run