From: Lasse Collin Date: Fri, 26 Apr 2024 14:59:15 +0000 (+0300) Subject: Delete build-aux/version.sh X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfee5dfa31bc0eff8ed296dbb28381db95a48ca4;p=thirdparty%2Fxz.git Delete build-aux/version.sh --- diff --git a/Makefile.am b/Makefile.am index feede2f8..e6bbef8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,7 +66,6 @@ EXTRA_DIST = \ TODO \ autogen.sh \ build-aux/manconv.sh \ - build-aux/version.sh \ build-aux/version.txt \ po/xz.pot-header diff --git a/build-aux/version.sh b/build-aux/version.sh deleted file mode 100644 index bef1b33d..00000000 --- a/build-aux/version.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: 0BSD - -############################################################################# -# -# Get the version string from version.h and print it out without -# trailing newline. This makes it suitable for use in configure.ac. -# -############################################################################# -# -# Author: Lasse Collin -# -############################################################################# - -sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/ - s/LZMA_VERSION_STABILITY_BETA/beta/ - s/LZMA_VERSION_STABILITY_STABLE// - s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \ - src/liblzma/api/lzma/version.h \ - | tr '\n' '|' \ - | sed 's/|/./; s/|/./; s/|//g' \ - | tr -d '\r\n'