W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

validator Makefile,1.7,1.8

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 02 Dec 2009 19:42:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NFv5w-0004XL-E5@lionel-hutz.w3.org>
Update of /sources/public/validator
In directory hutz:/tmp/cvs-serv17425

Modified Files:
	Makefile 
Log Message:
Extract version from bundle's META.yml.

Index: Makefile
===================================================================
RCS file: /sources/public/validator/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile	30 Nov 2009 20:49:54 -0000	1.7
+++ Makefile	2 Dec 2009 19:42:32 -0000	1.8
@@ -1,4 +1,4 @@
-VERSION = 0.8.6
+VERSION = $(shell perl -ne '/^version:\s*(\S+)/ && print $$1' misc/bundle/META.yml)
 
 PERL_FILES = httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl \
 	misc/spmpp.pl misc/docs_errors.pl misc/bundle/Makefile.PL \
Received on Wednesday, 2 December 2009 19:42:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:16 GMT