b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/configure.ac |
2 | +++ b/configure.ac | ||||
3 | @@ -1,4 +1,4 @@ | ||||
4 | -AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;')) | ||||
5 | +AC_INIT([mklibs],m4_esyscmd([head -n1 debian/changelog | awk -F'[\\\\(\\\\)]' '{ print $2 }' | xargs -I{} echo -n {}])) | ||||
6 | AM_INIT_AUTOMAKE([foreign no-define]) | ||||
7 | AC_CONFIG_HEADERS([config.h]) | ||||
8 | AM_MAINTAINER_MODE |