[GRASS-SVN] r34666 - grass/branches/develbranch_6/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 2 07:02:48 EST 2008


Author: martinl
Date: 2008-12-02 07:02:48 -0500 (Tue, 02 Dec 2008)
New Revision: 34666

Modified:
   grass/branches/develbranch_6/gui/wxpython/vdigit/Makefile
Log:
Don't install files if they already exist and haven't changed
      (merge from devbr6, r34663)


Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/Makefile
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/Makefile	2008-12-02 11:40:46 UTC (rev 34665)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/Makefile	2008-12-02 12:02:48 UTC (rev 34666)
@@ -41,6 +41,10 @@
 	$(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(EXTRA_LIBS)
 endif
 
-install_vdigit: $(SHLIB) $(LIB_NAME).py
-	$(INSTALL) $(SHLIB) $(ETCDIR)/vdigit/
-	$(INSTALL_DATA) $(LIB_NAME).py $(ETCDIR)/vdigit/
+install_vdigit: $(ETCDIR)/vdigit/_$(LIB_NAME).so $(ETCDIR)/vdigit/$(LIB_NAME).py
+
+$(ETCDIR)/vdigit/_$(LIB_NAME).so: $(SHLIB)
+	$(INSTALL) $< $@
+
+$(ETCDIR)/vdigit/$(LIB_NAME).py: $(LIB_NAME).py
+	$(INSTALL_DATA) $< $@



More information about the grass-commit mailing list