host: use git-version-gen/tarball-v. from topdir

Use .tarball-version from the topdir, because it only gets written there
when generating the OBS package. Remove the duplicate git-version-gen
script and use the one from the topdir to generate a version string if
building from the git tree.

Related: OS#4413
Change-Id: I4b197a218ab44632ff182ffbd72e15c2b20db341
This commit is contained in:
Oliver Smith committed 2021-03-05 12:41:22 +01:00
1 parent 09c3d45d6e
commit 90e351f4a7
3 files changed
+2 -153

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
AC_INIT([simtrace2],
m4_esyscmd([./git-version-gen .tarball-version]),
m4_esyscmd([../git-version-gen ../.tarball-version]),
[simtrace@lists.osmocom.org])
dnl *This* is the root dir, even if an install-sh exists in ../ or ../../