[GRASS-git] [OSGeo/grass] fe2a30: Use GRASS version for non-git builds. (#2636)
Bas Couwenberg
noreply at github.com
Sat Nov 12 04:15:09 PST 2022
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: fe2a30d73d63e89cd79837404157035aeac26d6d
https://github.com/OSGeo/grass/commit/fe2a30d73d63e89cd79837404157035aeac26d6d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: 2022-11-12 (Sat, 12 Nov 2022)
Changed paths:
M configure
M configure.ac
Log Message:
-----------
Use GRASS version for non-git builds. (#2636)
As reported in #2610, rebuilding the GRASS sources (from the release tarballs) with no changes break the gdal-grass plugins because the `GIS_H_VERSION` value changes.
Non-git builds use the current timestamp in `GRASS_HEADERS_GIT_HASH` which is also used for `GRASS_HEADERS_DATE`.
This PR uses `GRASS_VERSION_NUMBER` for `GRASS_HEADERS_GIT_HASH` as a better value for non-git builds, that value won't change for simple rebuilds of the source tree.
More information about the grass-commit
mailing list