mirror of
https://github.com/envmodules/modules.git
synced 2026-06-07 00:25:05 +08:00
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.
7 lines
235 B
PHP
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@
|