[Gnucash-changes] r14214 - gnucash/trunk - only conditionally remove the file.

Joshua Sled jsled at cvs.gnucash.org
Sun May 28 10:34:51 EDT 2006


Author: jsled
Date: 2006-05-28 10:34:50 -0400 (Sun, 28 May 2006)
New Revision: 14214
Trac: http://svn.gnucash.org/trac/changeset/14214

Modified:
   gnucash/trunk/Makefile.TAGS
Log:
only conditionally remove the file.


Modified: gnucash/trunk/Makefile.TAGS
===================================================================
--- gnucash/trunk/Makefile.TAGS	2006-05-28 02:23:37 UTC (rev 14213)
+++ gnucash/trunk/Makefile.TAGS	2006-05-28 14:34:50 UTC (rev 14214)
@@ -17,9 +17,9 @@
 # we don't need an etags.files dep here b/c you always call this after
 # re-generating etags.files if needed from the top-level Makefile.am.
 TAGS: $(shell cat etags.files)
-	rm TAGS
+	if [ -f TAGS ]; then rm TAGS; fi
 	cat etags.files | xargs -n 200 etags --append
 
 tags: $(shell cat etags.files)
-	rm tags
+	if [ -f TAGS ]; then rm tags; fi
 	cat etags.files | xargs -n 200 ctags --append



More information about the gnucash-changes mailing list