From: Lasse Collin Date: Fri, 26 Apr 2024 10:49:36 +0000 (+0300) Subject: Add build-aux/version.txt X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc09e93156df8b8dc8e3f9bb6b095e4d0686857;p=thirdparty%2Fxz.git Add build-aux/version.txt This is a new *duplicated* location for the package version. Previously version was only in src/liblzma/api/lzma/version.h from which it was extracted using build-aux/version.sh or using a regex in CMakeLists.txt. With Meson, this isn't practical anymore. While Meson can get the version from an external command, such commands would need to be available on non-POSIX targets as well. Even Python cannot be required as the plan is to ensure that the Meson-based build is compatible with the C99-only muon as well. --- diff --git a/Makefile.am b/Makefile.am index e32eb4c3..feede2f8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,6 +67,7 @@ EXTRA_DIST = \ autogen.sh \ build-aux/manconv.sh \ build-aux/version.sh \ + build-aux/version.txt \ po/xz.pot-header ACLOCAL_AMFLAGS = -I m4 diff --git a/build-aux/version.txt b/build-aux/version.txt new file mode 100644 index 00000000..85bc3f14 --- /dev/null +++ b/build-aux/version.txt @@ -0,0 +1 @@ +5.7.0alpha