mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
configure.ac: get ver_micro directly from git repository
Origin commit data
------------------
Branch: ni/coolstream
Commit: d99d5d574b
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-13 (Tue, 13 Nov 2018)
Origin message was:
------------------
- configure.ac: get ver_micro directly from git repository
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
|
# Keep in sync with git tags! Set tag with 'git tag NI-3.60'.
|
||||||
define(ver_major, 3)
|
define(ver_major, 3)
|
||||||
define(ver_minor, 60)
|
define(ver_minor, 60)
|
||||||
define(ver_micro, 0)
|
# ver_micro counts commits since last tag
|
||||||
|
define(ver_micro, m4_esyscmd([
|
||||||
|
GITTAG=$(git tag -l "NI-*" | tail -n1);
|
||||||
|
GITREV=$(git rev-list $GITTAG..HEAD --count);
|
||||||
|
printf "$GITREV"
|
||||||
|
]))
|
||||||
|
|
||||||
AC_INIT(NI-Neutrino, ver_major.ver_minor.ver_micro)
|
AC_INIT(NI-Neutrino, ver_major.ver_minor.ver_micro)
|
||||||
AM_INIT_AUTOMAKE([nostdinc foreign])
|
AM_INIT_AUTOMAKE([nostdinc foreign])
|
||||||
|
Reference in New Issue
Block a user