[GRASS-SVN] r62932 - grass/trunk/gui/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 25 03:36:32 PST 2014


Author: martinl
Date: 2014-11-25 03:36:32 -0800 (Tue, 25 Nov 2014)
New Revision: 62932

Modified:
   grass/trunk/gui/scripts/Makefile
Log:
gui scripts: makefile cosmetics


Modified: grass/trunk/gui/scripts/Makefile
===================================================================
--- grass/trunk/gui/scripts/Makefile	2014-11-25 11:34:46 UTC (rev 62931)
+++ grass/trunk/gui/scripts/Makefile	2014-11-25 11:36:32 UTC (rev 62932)
@@ -8,17 +8,15 @@
 
 ifdef MINGW
 PYFILES := $(patsubst %.py, $(DSTDIR)/%.py, $(filter %.py, $(PY_SOURCES)))
+$(DSTDIR)/%.py: %.py | $(DSTDIR)
+	$(INSTALL) $< $@
 else
 PYFILES := $(patsubst %.py, $(DSTDIR)/%, $(filter %.py, $(PY_SOURCES)))
+$(DSTDIR)/%: %.py | $(DSTDIR)
+	$(INSTALL) $< $@
 endif
 
 default: $(PYFILES)
 
-$(DSTDIR)/%: %.py | $(DSTDIR)
-	$(INSTALL) $< $@
-
-$(DSTDIR)/%.py: %.py | $(DSTDIR)
-	$(INSTALL) $< $@
-
 $(DSTDIR):
 	-test -d $@ | $(MKDIR) $@



More information about the grass-commit mailing list