debian: include the number of git patches in the version

* configure.ac, debian/changelog.in: Adjust.
* debian/source/format: Distribute this.
* Makefile.am (deb): New target.
This commit is contained in:
Alexandre Duret-Lutz 2015-02-28 18:24:43 +01:00
parent 1f0bb428b0
commit 176a7bf199
4 changed files with 26 additions and 7 deletions

View file

@ -160,6 +160,11 @@ AC_CHECK_PROGS([SWIG], [swig3.0 swig], [swig])
AC_SUBST([CROSS_COMPILING], [$cross_compiling])
AC_SUBST([GITPATCH], [$(if (git rev-parse) >/dev/null 2>&1; then
echo -n .
git rev-list $(git rev-list --tags --no-walk --max-count=1)..HEAD --count
fi)])
AC_CONFIG_FILES([
Makefile
bench/Makefile
@ -173,7 +178,6 @@ AC_CONFIG_FILES([
bench/spin13/Makefile
bench/wdba/Makefile
bench/stutter/Makefile
debian/changelog
doc/Doxyfile
doc/Makefile
doc/tl/Makefile