[GRASS-SVN] r34663 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 2 03:38:29 EST 2008


Author: glynn
Date: 2008-12-02 03:38:29 -0500 (Tue, 02 Dec 2008)
New Revision: 34663

Modified:
   grass/trunk/gui/wxpython/vdigit/Makefile
Log:
Don't install files if they already exist and haven't changed



Modified: grass/trunk/gui/wxpython/vdigit/Makefile
===================================================================
--- grass/trunk/gui/wxpython/vdigit/Makefile	2008-12-02 04:41:58 UTC (rev 34662)
+++ grass/trunk/gui/wxpython/vdigit/Makefile	2008-12-02 08:38:29 UTC (rev 34663)
@@ -47,6 +47,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