only conditionally remove the file.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14214 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled
2006-05-28 14:34:50 +00:00
parent 4cd8389f06
commit 576bc55a73

View File

@@ -17,9 +17,9 @@ etags.files: $(shell find . -mindepth 1 -type d ! -name CVS ! -path "*/.*")
# we don't need an etags.files dep here b/c you always call this after # 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. # re-generating etags.files if needed from the top-level Makefile.am.
TAGS: $(shell cat etags.files) TAGS: $(shell cat etags.files)
rm TAGS if [ -f TAGS ]; then rm TAGS; fi
cat etags.files | xargs -n 200 etags --append cat etags.files | xargs -n 200 etags --append
tags: $(shell cat etags.files) tags: $(shell cat etags.files)
rm tags if [ -f TAGS ]; then rm tags; fi
cat etags.files | xargs -n 200 ctags --append cat etags.files | xargs -n 200 ctags --append