diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-12-13 12:14:26 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-12-13 12:14:26 +0000 |
commit | aefc5f4d096e114ab2a2b41e752bc887e5bfabad (patch) | |
tree | fbb64d4d242343f78993b63982131bca5011cf40 /Makefile | |
parent | c106cb8272decc08c5d31164eac53cb4403db97c (diff) |
Under cygwin perl can't do in place editting, so make a backup and then
delete it when converting subroutine names to lowercase in TAGS/tags files.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1945 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.102 2000-12-13 12:04:59 goodale Exp $ +# @version $Id: Makefile,v 1.103 2000-12-13 12:14:26 goodale Exp $ # @@*/ ################################################################################## @@ -254,7 +254,8 @@ TAGS: \) -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 + $(PERL) -pi.bak -e 's/(subroutine\s*)([a-zA-Z0-9_]+)/\1\L\2/g;' TAGS + rm TAGS.bak @echo $(DIVIDER) tags: @@ -265,7 +266,8 @@ tags: -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 + $(PERL) -pi.bak -e 's/(subroutine\s*)([a-zA-Z0-9_]+)/\1\L\2/g;' tags + rm tags.bak sort tags > sortedtags ; mv sortedtags tags @echo $(DIVIDER) |