[Sound-open-firmware] [PATCH] git-version: echo version for AC_INIT
Liam Girdwood
liam.r.girdwood at linux.intel.com
Thu Nov 30 12:29:41 CET 2017
AC_INIT needs version information for building shared libraries.
Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
---
git-version.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/git-version.sh b/git-version.sh
index c6beb40..faa0daa 100755
--- a/git-version.sh
+++ b/git-version.sh
@@ -20,3 +20,5 @@ fi
echo $num > .build
echo "#define REEF_BUILD $num" >> src/include/version.h
+#echo version for AC_INIT
+echo -n `cat .version | cut -dv -f2 | cut -d. -f1`:`cat .version | cut -d. -f2 | cut -d- -f1`
--
2.14.1
More information about the Sound-open-firmware
mailing list