[GRASS-SVN] r52266 - grass-addons/grass7/gui/wxpython/wx.vnet

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 1 06:18:00 PDT 2012


Author: martinl
Date: 2012-07-01 06:17:59 -0700 (Sun, 01 Jul 2012)
New Revision: 52266

Added:
   grass-addons/grass7/gui/wxpython/wx.vnet/Makefile
Log:
wx.vnet: initial version of Makefile added (needs testing when the code will be commited)


Added: grass-addons/grass7/gui/wxpython/wx.vnet/Makefile
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.vnet/Makefile	                        (rev 0)
+++ grass-addons/grass7/gui/wxpython/wx.vnet/Makefile	2012-07-01 13:17:59 UTC (rev 52266)
@@ -0,0 +1,23 @@
+MODULE_TOPDIR = ../..
+
+include $(MODULE_TOPDIR)/include/Make/Dir.make
+include $(MODULE_TOPDIR)/include/Make/Python.make
+
+ETCDIR = $(ETC)/gui/wxpython
+
+SRCFILES := $(wildcard vnet/*)
+DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES)) $(patsubst %.py,$(ETCDIR)/%.pyc,$(filter %.py,$(SRCFILES)))
+
+DSTDIRS := $(patsubst %,$(ETCDIR)/%,vnet)
+
+default: $(DSTFILES)
+	$(MAKE) parsubdirs
+
+$(ETCDIR)/%: % | $(DSTDIRS)
+	$(INSTALL_DATA) $< $@
+
+$(DSTDIRS): %: | $(ETCDIR)
+	$(MKDIR) $@
+
+$(ETCDIR):
+	$(MKDIR) $@


Property changes on: grass-addons/grass7/gui/wxpython/wx.vnet/Makefile
___________________________________________________________________
Added: svn:mime-type
   + text/x-makefile
Added: svn:eol-style
   + native



More information about the grass-commit mailing list