[GRASS-SVN] r65942 - grass-addons/grass7/imagery/i.segment.hierarchical

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 14 23:51:01 PDT 2015


Author: nikosa
Date: 2015-08-14 23:51:01 -0700 (Fri, 14 Aug 2015)
New Revision: 65942

Modified:
   grass-addons/grass7/imagery/i.segment.hierarchical/Makefile
Log:
Reverted to r60887, unintentional commit was r65935

Modified: grass-addons/grass7/imagery/i.segment.hierarchical/Makefile
===================================================================
--- grass-addons/grass7/imagery/i.segment.hierarchical/Makefile	2015-08-15 06:48:33 UTC (rev 65941)
+++ grass-addons/grass7/imagery/i.segment.hierarchical/Makefile	2015-08-15 06:51:01 UTC (rev 65942)
@@ -2,9 +2,19 @@
 
 PGM = i.segment.hierarchical
 
-ETCFILES = isegpatch
-
 include $(MODULE_TOPDIR)/include/Make/Script.make
 include $(MODULE_TOPDIR)/include/Make/Python.make
 
-default: script
+MODULES = isegpatch
+
+ETCDIR = $(ETC)/i.segment.hierarchical
+
+PYFILES := $(patsubst %,$(ETCDIR)/%.py,$(MODULES))
+
+default: script $(PYFILES)
+
+$(ETCDIR):
+	$(MKDIR) $@
+
+$(ETCDIR)/%: % | $(ETCDIR)
+	$(INSTALL_DATA) $< $@



More information about the grass-commit mailing list