summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-12-13 12:04:59 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-12-13 12:04:59 +0000
commitc106cb8272decc08c5d31164eac53cb4403db97c (patch)
tree67623f19d889d229db74ec77d8abbd2d6646f00b /Makefile
parentec626ef9fc998ebf32580f250b8b17d11b484d06 (diff)
Using xargs to feed arguments to etags and ctags, as per a suggestion
from Erik. Increased the range of files searched for. This should clear PRs 455 and 472. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1944 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 522fb288..ea82059f 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.101 2000-12-11 18:22:10 goodale Exp $
+# @version $Id: Makefile,v 1.102 2000-12-13 12:04:59 goodale Exp $
# @@*/
##################################################################################
@@ -248,8 +248,10 @@ TAGS:
@echo $(DIVIDER)
@echo Updating the Emacs TAGS file
rm -f TAGS ; touch TAGS
- find src arrangements \( -name '*.[chCF]' -o -name '*.F77' -o -name '*.cc' -o -name '*.[ch]pp' \) \
- -exec etags -a {} \;
+ find src arrangements \( \
+ -name '*.[chCfF]' -o -name '*.[fF]77' -o -name '*.[fF]90'\
+ -o -name '*.cc' -o -name '*.cxx' -o -name '*.hh' -o -name '*.[ch]pp' \
+ \) -print | xargs etags -a
# find src arrangements \( -name '*.[cChF]' -o -name '*.F77' -o -name '*.cc'\) \
# -exec etags --append --regex '/[a-z A-Z \t]*FORTRAN_NAME[^)]*/' {} \;
$(PERL) -pi -e 's/(subroutine\s*)([a-zA-Z0-9_]+)/\1\L\2/g;' TAGS
@@ -259,8 +261,10 @@ tags:
@echo $(DIVIDER)
@echo Updating the vi tags file
rm -f tags ; touch tags
- find src arrangements \( -name '*.[cChF]' -o -name '*.F77' -o -name '*.cc' -o -name '*.[ch]pp' \) \
- -exec ctags -a {} \;
+ find src arrangements \( \
+ -name '*.[chCfF]' -o -name '*.[fF]77' -o -name '*.[fF]90'\
+ -o -name '*.cc' -o -name '*.cxx' -o -name '*.hh' -o -name '*.[ch]pp' \
+ \) -print | xargs ctags -a
$(PERL) -pi -e 's/(subroutine\s*)([a-zA-Z0-9_]+)/\1\L\2/g;' tags
sort tags > sortedtags ; mv sortedtags tags
@echo $(DIVIDER)