]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Delete build-aux/version.sh
authorLasse Collin <lasse.collin@tukaani.org>
Fri, 26 Apr 2024 14:59:15 +0000 (17:59 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 26 Apr 2024 15:26:32 +0000 (18:26 +0300)
Makefile.am
build-aux/version.sh [deleted file]

index feede2f8c0bf69fbce6eae4f236ad0693be0df5d..e6bbef8c580af27a0ae38fe7cb465f02a3ca6135 100644 (file)
@@ -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 (file)
index bef1b33..0000000
+++ /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'