[GRASS-SVN] r56106 - grass/branches/releasebranch_6_4

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 3 21:16:31 PDT 2013


Author: hamish
Date: 2013-05-03 21:16:31 -0700 (Fri, 03 May 2013)
New Revision: 56106

Modified:
   grass/branches/releasebranch_6_4/Makefile
Log:
remove .svn/ cruft from demolocation during 'make install' (#1946, merge from devbr6)

Modified: grass/branches/releasebranch_6_4/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/Makefile	2013-05-04 03:59:48 UTC (rev 56105)
+++ grass/branches/releasebranch_6_4/Makefile	2013-05-04 04:16:31 UTC (rev 56106)
@@ -389,6 +389,13 @@
 builddemolocation:
 	test -d ${ARCH_DISTDIR} || ${MAKE_DIR_CMD} ${ARCH_DISTDIR}
 	-tar cBf - demolocation | (cd ${ARCH_DISTDIR}/ ; tar xBfo - ) 2>/dev/null
+	-(cd ${ARCH_DISTDIR}/demolocation ; \
+		rm -rf ".svn" ; \
+		rm -rf "PERMANENT/.svn" ; \
+		rm -rf "PERMANENT/vector/.svn" ; \
+		rm -rf "PERMANENT/vector/mysites/.svn" ; \
+		rm -rf "PERMANENT/vector/point/.svn" ; \
+		rm -rf "PERMANENT/dbf/.svn" )
 	@ echo "GISDBASE: ${RUN_GISBASE}" > ${RUN_GISRC}
 	@ echo "LOCATION_NAME: demolocation" >> ${RUN_GISRC}
 	@ echo "MAPSET: PERMANENT" >> ${RUN_GISRC}



More information about the grass-commit mailing list