Mesa (master): autotools: include meson_get_version

Dylan Baker dbaker at kemper.freedesktop.org
Wed Mar 28 17:33:27 UTC 2018


Module: Mesa
Branch: master
Commit: bc2fdb9759dc702ec351a044b3fd408c0701fedb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc2fdb9759dc702ec351a044b3fd408c0701fedb

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Mon Mar 26 11:10:16 2018 -0700

autotools: include meson_get_version

Otherwise meson won't read the VERSION file and won't set a version.
That means that pkg-config files will have version unset as well.

Fixes: 3e9533d9b88d75d99632fa40e38cfed842d10842
       ("meson: Add script to use VERSION file for getting version")
Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 804b1d8535..a83f2bcb5f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -64,7 +64,8 @@ EXTRA_DIST = \
 	meson_options.txt \
 	bin/meson.build \
 	include/meson.build \
-	bin/install_megadrivers.py
+	bin/install_megadrivers.py \
+	bin/meson_get_version.py
 
 noinst_HEADERS = \
 	include/c99_alloca.h \




More information about the mesa-commit mailing list