W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2010

validator Makefile,1.8,1.9

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 22 Feb 2010 18:08:49 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Njci9-0004BQ-AM@lionel-hutz.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:41 UTC