validator Makefile,1.7,1.8

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 UTC