summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2010-06-10 21:56:58 +0000
committerville <ville@localhost>2010-06-10 21:56:58 +0000
commitd400511190b28912b612458b7ccc95a65ce139d0 (patch)
tree3772d09d6180bbc47b4d77a52fbf85391a3fa310
parent0f0ed017e507175f316d06307368998b4221344e (diff)
downloadmarkup-validator-d400511190b28912b612458b7ccc95a65ce139d0.zip
markup-validator-d400511190b28912b612458b7ccc95a65ce139d0.tar.gz
markup-validator-d400511190b28912b612458b7ccc95a65ce139d0.tar.bz2
Add target for generating catalog.xml.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fe64a9f..cdd6e01 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,14 @@ PERLCRITIC = perlcritic --profile misc/perlcriticrc
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