validator Makefile,1.8,1.9

Update of /sources/public/validator
In directory hutz:/tmp/cvs-serv16060

Modified Files:
	Makefile 
Log Message:
Add target for generating htdocs/docs/errors.html, do it in "all", do "all" in "dist".


Index: Makefile
===================================================================
RCS file: /sources/public/validator/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Makefile	2 Dec 2009 19:42:32 -0000	1.8
+++ Makefile	22 Feb 2010 18:08:47 -0000	1.9
@@ -9,7 +9,10 @@
 
 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) $$file ; \
 	done
 
-dist:
+dist: all
 	misc/mkrelease.sh $(VERSION)

Received on Monday, 22 February 2010 18:08:50 UTC