[GRASS-SVN] r53441 - grass-addons/grass7/gui/wxpython/wx.animation
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 17 09:41:52 PDT 2012
Author: martinl
Date: 2012-10-17 09:41:52 -0700 (Wed, 17 Oct 2012)
New Revision: 53441
Added:
grass-addons/grass7/gui/wxpython/wx.animation/Makefile
Log:
wx.animation: Makefile added for g.extension
Added: grass-addons/grass7/gui/wxpython/wx.animation/Makefile
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.animation/Makefile (rev 0)
+++ grass-addons/grass7/gui/wxpython/wx.animation/Makefile 2012-10-17 16:41:52 UTC (rev 53441)
@@ -0,0 +1,29 @@
+MODULE_TOPDIR = ../..
+
+include $(MODULE_TOPDIR)/include/Make/Dir.make
+include $(MODULE_TOPDIR)/include/Make/Python.make
+
+ETCDIR = $(ETC)/gui/wxpython
+ICONDIR = $(ETC)/gui
+
+SRCFILES := $(wildcard animation/*)
+DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES)) $(patsubst %.py,$(ETCDIR)/%.pyc,$(filter %.py,$(SRCFILES)))
+HTMLFILES := $(wildcard *.html)
+ICONFILES := $(wildcard icons/grass/*.png)
+
+DSTDIRS := $(patsubst %,$(ETCDIR)/%,animation)
+
+default: $(DSTFILES) $(patsubst %,$(HTMLDIR)/%,$(HTMLFILES)) $(patsubst %,$(ICONDIR)/%,$(ICONFILES))
+ $(MAKE) parsubdirs
+
+$(ETCDIR)/%: % | $(DSTDIRS)
+ $(INSTALL_DATA) $< $@
+
+$(ICONDIR)/%: % | $(DSTDIRS)
+ $(INSTALL_DATA) $< $@
+
+$(DSTDIRS): %: | $(ETCDIR)
+ $(MKDIR) $@
+
+$(ETCDIR):
+ $(MKDIR) $@
Property changes on: grass-addons/grass7/gui/wxpython/wx.animation/Makefile
___________________________________________________________________
Added: svn:mime-type
+ text/x-makefile
Added: svn:eol-style
+ native
More information about the grass-commit
mailing list