[GRASS-dev] GRASS_VERSION_* hardcoded in gem/Makefile

Maciej Sieczka msieczka at sieczka.org
Sun Jan 6 07:30:23 PST 2013


What is the reason gem/Makefile has GRASS_VERSION_MAJOR and 
GRASS_VERSION_MINOR hardcoded, rather than set to the make var, as in 
include/Make/Grass.make.in?:

configure:GRASS_VERSION_MAJOR=`sed -n 1p "${GRASS_VERSION_FILE}"`
include/Make/Grass.make.in:GRASS_VERSION_MAJOR   = @GRASS_VERSION_MAJOR@
gem/Makefile:GRASS_VERSION_MAJOR=6

configure:GRASS_VERSION_MINOR=`sed -n 2p "${GRASS_VERSION_FILE}"`
include/Make/Grass.make.in:GRASS_VERSION_MINOR   = @GRASS_VERSION_MINOR@
gem/Makefile:GRASS_VERSION_MINOR=4

Maciek

-- 
Maciej Sieczka
http://www.sieczka.org


More information about the grass-dev mailing list