Append Git revision hash to package version
commite1ea00e7af7492e8b005ab89f9ee488708b9e491
authorMarc Schink <swo-dev@marcschink.de>
Wed, 2 Nov 2016 20:45:47 +0000 (2 21:45 +0100)
committerMarc Schink <swo-dev@marcschink.de>
Fri, 13 Jan 2017 10:50:49 +0000 (13 11:50 +0100)
tree9a25cd4165583f6e202317a82e18af7bd67bafed
parent451c6bf629c199e5c4defb992bba12d52dcbd5ed
Append Git revision hash to package version

Append the short Git revision hash of the current commit to the package
version if there is no release tag for the package version on it and Git
is available.
This makes the package version more informative and allows the
distinction between development and release versions.

This code is inspired by, but not derived from, a patch from Daniel
Elstner for the libsigrok project.
.gitignore
autogen.sh
configure.ac
m4/swodec.m4 [new file with mode: 0644]
src/main.c
src/version.h.in [new file with mode: 0644]