Files
modules/version.inc.in
Xavier Delaruelle 429215f9b7 install: handle version number through git tags
Introduce a version.inc file sourced by Makefiles, that holds release
number and build information. Makefiles use these information to set
correct version number in manpages and modulecmd.tcl script.

version.inc is present in dist tarball. This file is generated from
version.inc.in file by main Makefile when working in git repository.

Release information are retrieved from the tags of the git repository.
Release number corresponds to last git tag set. Build number is the
result of the 'git describe' command: this information helps to know
from what git branch and commit the current build is made of.
2017-09-30 21:47:26 +02:00

7 lines
235 B
PHP

# Release definitions shared across the Makefiles of this project
# run make from git repository to generate version.inc
MODULES_RELEASE := @MODULES_RELEASE@
MODULES_BUILD := @MODULES_BUILD@
MODULES_BUILD_DATE := @MODULES_BUILD_DATE@