summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2009-12-02 19:42:32 +0000
committerville <ville@localhost>2009-12-02 19:42:32 +0000
commitbc23c43e8cfb3afa3de987e2297d81d9789647b7 (patch)
treeb2ca37a0523a0f0f0d0c4bbcc08bac3fe674507d
parent3cb7ed8258e4db9d0b1da9e30e0d900c7849607d (diff)
downloadmarkup-validator-bc23c43e8cfb3afa3de987e2297d81d9789647b7.zip
markup-validator-bc23c43e8cfb3afa3de987e2297d81d9789647b7.tar.gz
markup-validator-bc23c43e8cfb3afa3de987e2297d81d9789647b7.tar.bz2
Extract version from bundle's META.yml.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aad6cb3..06abc34 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \