[GRASS-SVN] r56621 - grass/trunk/macosx
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 5 18:15:43 PDT 2013
Author: kyngchaos
Date: 2013-06-05 18:15:42 -0700 (Wed, 05 Jun 2013)
New Revision: 56621
Modified:
grass/trunk/macosx/Makefile
Log:
sync Mac install target to fix demolocation
Modified: grass/trunk/macosx/Makefile
===================================================================
--- grass/trunk/macosx/Makefile 2013-06-05 23:08:42 UTC (rev 56620)
+++ grass/trunk/macosx/Makefile 2013-06-06 01:15:42 UTC (rev 56621)
@@ -98,6 +98,10 @@
install-basic-macosx:
-tar cBCf $(GISBASE) - . | tar xBCf $(INST_DIR_TARGET) - 2>/dev/null
+ -sed -e 's#'$(GISBASE)'#'$(INST_DIR)'#g' \
+ ${GISBASE}/etc/fontcap > ${INST_DIR_TARGET}/etc/fontcap
+ -sed -e 's#'$(GISBASE)'#'$(INST_DIR)'#g' \
+ ${GISBASE}/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR) > ${INST_DIR_TARGET}/demolocation/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR)
sed -e 's#^\(GRASS_HOME.[^=]*\).*#\1= $(INST_DIR)#g' \
-e 's#$(GISBASE)#$(INST_DIR)#g' \
${GISBASE}/include/Make/Platform.make > ${INST_DIR_TARGET}/include/Make/Platform.make
More information about the grass-commit
mailing list