diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-08-14 18:55:24 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-08-14 18:55:24 +0200 |
commit | 1648066f1652e758d93393a875b1337a27fc0cf7 (patch) | |
tree | b00f35fcabf06fb28405ae5e598fddd25e4f9b44 /configure.ac | |
parent | 6f481f066ed4cd2692abbf994170ac4409d4b809 (diff) |
Use osmocom-style versioning in Makefile, configure, debian/rules
We have a particular method of generating package version information
in the Osmocom project, based on a 'git-version-gen' script that
looks up the latest git tag and generates a version from that.
This version is then used in pkgconfig, etc.
Change-Id: I1e6ed7af7107f8a74010721acd34f92a3237a7a1
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 9f816bb..0354ab9 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,8 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(libsmpp34, 1.10, ultraismo@yahoo.com) +AC_INIT(libsmpp34, m4_esyscmd([./git-version-gen .tarball-version]), ultraismo@yahoo.com) + AC_CONFIG_AUX_DIR(aux_config) AM_INIT_AUTOMAKE([foreign]) AM_CONFIG_HEADER([aux_config/config.h]) |