Explorar el Código

sync OS X install target, fixes https://trac.osgeo.org/grass/ticket/854

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56410 15284696-431f-4ddb-bdfa-cd5b030d7da7
William Kyngesburye hace 12 años
padre
commit
9131ca2655
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      macosx/Makefile

+ 6 - 0
macosx/Makefile

@@ -98,6 +98,12 @@ install-macosxapp:
 
 install-basic-macosx:
 	-tar cBCf $(GISBASE) - . | tar xBCf $(INST_DIR_TARGET) - 2>/dev/null
+	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
+	sed -e 's#^\(ARCH_DISTDIR.[^=]*\).*#\1= $(INST_DIR)#g' \
+		-e 's#^\(ARCH_BINDIR.[^=]*\).*#\1= $(UNIX_BIN)#g' \
+		${GISBASE}/include/Make/Grass.make > ${INST_DIR_TARGET}/include/Make/Grass.make
 	-sed -e 's#'@GISBASE@'#'$(INST_DIR)'#g' \
 	     -e 's#'@LD_LIBRARY_PATH_VAR@'#'$(LD_LIBRARY_PATH_VAR)'#g' \
 	     -e 's#'@CONFIG_PROJSHARE@'#'$(PROJSHARE)'#g' \