List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:December 6 2007 9:11am
Subject:Rev 336: Added test around copy to prevent duplicate copies. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 336
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Thu 2007-12-06 01:11:16 -0800
message:
  Added test around copy to prevent duplicate copies.
modified:
  swig/SWIG/Source/Makefile.am   makefile.am-20071104211339-fod7yzi8t7xd3g0w-108
=== modified file 'swig/SWIG/Source/Makefile.am'
--- a/swig/SWIG/Source/Makefile.am	2007-11-26 10:21:22 +0000
+++ b/swig/SWIG/Source/Makefile.am	2007-12-06 09:11:16 +0000
@@ -99,7 +99,8 @@
 # This occurs on each invocation of make and is a step towards providing support for
multiple 
 # build directories.
 all-local: eswig@EXEEXT@
-	cp -f $(top_builddir)/Source/eswig@EXEEXT@ $(top_builddir)/swig@EXEEXT@
+	@test $(top_builddir)/Source/eswig@EXEEXT@ -nt $(top_builddir)/swig@EXEEXT@ && \
+	cp -f $(top_builddir)/Source/eswig@EXEEXT@ $(top_builddir)/swig@EXEEXT@  || true
 
 clean-local:
 	rm -f $(top_builddir)/swig@EXEEXT@

Thread
Rev 336: Added test around copy to prevent duplicate copies. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/develMonty Taylor6 Dec