summaryrefslogtreecommitdiff
path: root/tools/mklibs/patches/001-compile.patch
blob: 09b831ada2cb2f9a7761380cff78a488de7bb270 (plain)
1
2
3
4
5
6
7
8
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;'))
+AC_INIT([mklibs],m4_esyscmd([head -n1 debian/changelog | awk -F'[\\\\(\\\\)]' '{ print $2 }' | xargs -I{} echo -n {}]))
 AM_INIT_AUTOMAKE([foreign no-define])
 AC_CONFIG_HEADERS([config.h])
 AM_MAINTAINER_MODE