[GRASS-SVN] r49425 - grass/branches/develbranch_6/vector/v.digit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 29 10:40:08 EST 2011


Author: neteler
Date: 2011-11-29 07:40:08 -0800 (Tue, 29 Nov 2011)
New Revision: 49425

Modified:
   grass/branches/develbranch_6/vector/v.digit/Makefile
Log:
conditionalize upon TclTk configuration

Modified: grass/branches/develbranch_6/vector/v.digit/Makefile
===================================================================
--- grass/branches/develbranch_6/vector/v.digit/Makefile	2011-11-29 15:30:55 UTC (rev 49424)
+++ grass/branches/develbranch_6/vector/v.digit/Makefile	2011-11-29 15:40:08 UTC (rev 49425)
@@ -20,6 +20,8 @@
 AUXDIR := $(GISBASE)/etc/v.digit
 TCLFILES := $(patsubst %,$(AUXDIR)/%,$(wildcard *.tcl))
 
+#compile if TCLTKLIBS present:
+ifneq ($(strip $(TCLTKLIBS)),)
 default: cmd $(TCLFILES)
 
 $(AUXDIR):
@@ -28,5 +30,6 @@
 
 $(AUXDIR)/%.tcl: %.tcl $(AUXDIR)
 	$(INSTALL_DATA) $< $@
-
-
+else
+default:
+endif



More information about the grass-commit mailing list