1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Detect upstream version from debian/changelog.
Removes assumption that we're building in a git repo.
Forwarded: not-needed
Author: dann frazier <dannf@debian.org>
Last-Update: 2022-10-11
--- a/configure.ac
+++ b/configure.ac
@@ -7,7 +7,7 @@
# This file is to be processed with autoconf to generate a configure script.
AC_INIT([pdsh],
- m4_esyscmd([git describe --always | awk '/.*/ {sub(/^pdsh-/, ""); printf "%s",$1; exit}']))
+ m4_esyscmd([dpkg-parsechangelog -SVersion | sed 's/-[^-]*$//']))
AC_CONFIG_SRCDIR([pdsh])
AC_CONFIG_AUX_DIR([config])
|