[GRASS-SVN] r53565 - grass/branches/releasebranch_6_4/include/Make
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 26 07:53:31 PDT 2012
Author: martinl
Date: 2012-10-26 07:53:31 -0700 (Fri, 26 Oct 2012)
New Revision: 53565
Modified:
grass/branches/releasebranch_6_4/include/Make/Rules.make
Log:
backport r49620
Modified: grass/branches/releasebranch_6_4/include/Make/Rules.make
===================================================================
--- grass/branches/releasebranch_6_4/include/Make/Rules.make 2012-10-26 14:50:40 UTC (rev 53564)
+++ grass/branches/releasebranch_6_4/include/Make/Rules.make 2012-10-26 14:53:31 UTC (rev 53565)
@@ -66,6 +66,15 @@
%.tab.h %.tab.c: %.y
$(YACC) -b$* -p$* $(YACCFLAGS) $<
+ifneq ($(MINGW),)
+mkpath = $(shell $(TOOLSDIR)/g.echo$(EXE) $(1));$(2)
+else
+mkpath = $(1):$(2)
+endif
+
+GRASS_PYTHONPATH := $(call mkpath,$(GISBASE)/etc/python,$$PYTHONPATH)
+GRASS_PYTHONPATH := $(call mkpath,$(ARCH_DISTDIR)/etc/python,$(GRASS_PYTHONPATH))
+
run_grass = \
GISRC=$(RUN_GISRC) \
GISBASE=$(RUN_GISBASE) \
More information about the grass-commit
mailing list