[GRASS-SVN] r41759 - grass/trunk/demolocation
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 8 15:48:03 EDT 2010
Author: martinl
Date: 2010-04-08 15:48:03 -0400 (Thu, 08 Apr 2010)
New Revision: 41759
Added:
grass/trunk/demolocation/grassrc.tmpl
Modified:
grass/trunk/demolocation/Makefile
Log:
grassrc re-added (needs to be available for compilation process)
Modified: grass/trunk/demolocation/Makefile
===================================================================
--- grass/trunk/demolocation/Makefile 2010-04-08 19:47:42 UTC (rev 41758)
+++ grass/trunk/demolocation/Makefile 2010-04-08 19:48:03 UTC (rev 41759)
@@ -13,7 +13,6 @@
DSTDIR = $(ARCH_DISTDIR)/demolocation
DST := $(patsubst %,$(DSTDIR)/PERMANENT/%,$(SRC))
DSTDIRS := $(patsubst %,$(DSTDIR)/%,$(DIRS))
-
RCFILE = $(DSTDIR)/.grassrc$(GRASS_VERSION_MAJOR)$(GRASS_VERSION_MINOR)
default: $(DST) $(RCFILE)
@@ -23,3 +22,6 @@
$(DSTDIRS): %:
$(MKDIR) $@
+
+$(RCFILE): grassrc.tmpl | $(DSTDIRS)
+ sed 's!@GISDBASE@!$(RUN_GISBASE)!' < $< > $@
Added: grass/trunk/demolocation/grassrc.tmpl
===================================================================
--- grass/trunk/demolocation/grassrc.tmpl (rev 0)
+++ grass/trunk/demolocation/grassrc.tmpl 2010-04-08 19:48:03 UTC (rev 41759)
@@ -0,0 +1,6 @@
+GISDBASE: @GISDBASE@
+LOCATION_NAME: demolocation
+MAPSET: PERMANENT
+GRASS_DB_ENCODING: utf-8
+DEBUG: 0
+GRASS_GUI: text
More information about the grass-commit
mailing list