mirror of
https://github.com/envmodules/modules.git
synced 2026-06-18 00:06:53 +08:00
Make `git archive` substitute .version.inc.in with commit hash, date and refs. Compute MODULES_BUILD and MODULES_BUILD_DATE from these informations in ./configure and Makefile if not working from git repository.
10 lines
307 B
PHP
10 lines
307 B
PHP
# Release definitions shared across the Makefiles of this project
|
|
# run make to generate version.inc
|
|
|
|
MODULES_RELEASE := 4.4.1
|
|
MODULES_BUILD_HASH := $Format:%h$
|
|
MODULES_BUILD_REFS := $Format:%D$
|
|
MODULES_BUILD_FDATE := $Format:%ci$
|
|
MODULES_BUILD := @MODULES_BUILD@
|
|
MODULES_BUILD_DATE := @MODULES_BUILD_DATE@
|