summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2010-02-22 18:08:47 +0000
committerville <ville@localhost>2010-02-22 18:08:47 +0000
commitafe460bb9056e3562700d1e2ad0e73f2441063fe (patch)
treeab4bbac98d823e3423038cdd214ede111c95893b
parentdc08f03d300018b313318aff655c6f80162dee18 (diff)
downloadmarkup-validator-afe460bb9056e3562700d1e2ad0e73f2441063fe.zip
markup-validator-afe460bb9056e3562700d1e2ad0e73f2441063fe.tar.gz
markup-validator-afe460bb9056e3562700d1e2ad0e73f2441063fe.tar.bz2
Add target for generating htdocs/docs/errors.html, do it in "all", do "all" in "dist".
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 06abc34..1e9d39c 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,10 @@ PERLCRITIC = perlcritic --profile misc/perlcriticrc
VALIDATOR_URI = http://localhost/w3c-validator/check
-all:
+all: htdocs/docs/errors.html
+
+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 > $@
test:
misc/testsuite/harness.py --validator_uri=$(VALIDATOR_URI) run
@@ -23,5 +26,5 @@ perltidy:
$(PERLTIDY) $$file ; \
done
-dist:
+dist: all
misc/mkrelease.sh $(VERSION)