[GRASS-SVN] r43737 - grass/branches/develbranch_6
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Sep 30 02:15:06 EDT 2010
Author: hamish
Date: 2010-09-30 06:15:06 +0000 (Thu, 30 Sep 2010)
New Revision: 43737
Modified:
grass/branches/develbranch_6/Makefile
Log:
experimental: attempt to rewire GRASS_HOME and RUN_GISBASE in installed version of Platform.make to install dir (#1180)
Modified: grass/branches/develbranch_6/Makefile
===================================================================
--- grass/branches/develbranch_6/Makefile 2010-09-30 06:02:06 UTC (rev 43736)
+++ grass/branches/develbranch_6/Makefile 2010-09-30 06:15:06 UTC (rev 43737)
@@ -290,6 +290,7 @@
@ # default to be /usr/local
@##### -cd ${GISBASE} ; tar cBf - man | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null
-cd ${GISBASE} ; tar cBf - include | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null
+ -sed -i -e "s#^\(GRASS_HOME.[^=]*\).*#\1= ${INST_DIR}#" -e "s#^\(RUN_GISBASE.[^=]*\).*#\1= ${INST_DIR}#" ${INST_DIR}/include/Make/Platform.make
-cd ${GISBASE} ; tar cBf - lib | (cd ${INST_DIR} ; tar xBf - ) 2>/dev/null
-sed 's#'${GISBASE}'#'${INST_DIR}'#g' ${GISBASE}/etc/monitorcap > ${INST_DIR}/etc/monitorcap
-sed 's#'${GISBASE}'#'${INST_DIR}'#g' ${GISBASE}/etc/fontcap > ${INST_DIR}/etc/fontcap
More information about the grass-commit
mailing list