From 488b3ed6f40df4608f7d02758ffd4ab7070c782e Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 25 Jul 2013 23:45:45 +0100 Subject: build: unify mesa version by using a VERSION file Rather than having to keep track of all the build systems and their respecitve definition of the mesa version, use a single top file VERSION. Every build system is responsible for reading/parsing the file and using it v2: * remove useless bulletpoint from the documentation, suggested by Matt * "Androing is Linux. Use '/' in stead of '\'", spotted by Chad V * use cleaner code to get the version in scons, suggested by Chad V v3: * ensure leading and trailing whitespace characters are stripped while parsing * android: handle GNU shell commands approapriately Reviewed-by: Matt Turner Reviewed-by: Chad Versace Reviewed-by: Kenneth Graunke Signed-off-by: Emil Velikov --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 63e02c6..ce391c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,6 +36,7 @@ PACKAGE_NAME = MesaLib-$(PACKAGE_VERSION) EXTRA_FILES = \ aclocal.m4 \ configure \ + VERSION \ bin/ar-lib \ bin/compile \ bin/config.sub \ -- cgit v1.1