[GRASS-SVN] r59293 - grass/trunk/general/g.version
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 23 05:04:43 PDT 2014
Author: martinl
Date: 2014-03-23 05:04:43 -0700 (Sun, 23 Mar 2014)
New Revision: 59293
Modified:
grass/trunk/general/g.version/Makefile
grass/trunk/general/g.version/main.c
Log:
g.version: report also build platform
Modified: grass/trunk/general/g.version/Makefile
===================================================================
--- grass/trunk/general/g.version/Makefile 2014-03-23 01:01:02 UTC (rev 59292)
+++ grass/trunk/general/g.version/Makefile 2014-03-23 12:04:43 UTC (rev 59293)
@@ -9,7 +9,8 @@
-DGRASS_VERSION_NUMBER=\"'$(GRASS_VERSION_NUMBER)'\" \
-DGRASS_VERSION_DATE=\"'$(GRASS_VERSION_DATE)'\" \
-DGRASS_VERSION_SVN=\"'$(GRASS_VERSION_SVN)'\" \
- -DGRASS_VERSION_UPDATE_PKG=\"'$(GRASS_VERSION_UPDATE_PKG)'\"
+ -DGRASS_VERSION_UPDATE_PKG=\"'$(GRASS_VERSION_UPDATE_PKG)'\" \
+ -DARCH=\"'$(ARCH)'\"
LIBES = $(GISLIB) $(GEOSLIBS) $(GDALLIBS)
DEPENDENCIES = $(GISDEP)
Modified: grass/trunk/general/g.version/main.c
===================================================================
--- grass/trunk/general/g.version/main.c 2014-03-23 01:01:02 UTC (rev 59292)
+++ grass/trunk/general/g.version/main.c 2014-03-23 12:04:43 UTC (rev 59293)
@@ -97,6 +97,7 @@
fprintf(stdout, "date=%s\n", GRASS_VERSION_DATE);
fprintf(stdout, "revision=%s\n", GRASS_VERSION_SVN);
fprintf(stdout, "build_date=%d-%02d-%02d\n", YEAR, MONTH, DAY);
+ fprintf(stdout, "build_platform=%s\n", ARCH);
}
else {
fprintf(stdout, "GRASS %s (%s)\n",
More information about the grass-commit
mailing list