This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add a Makefile target for ctags
authorAndy Lester <andy@petdance.com>
Thu, 12 May 2005 11:40:52 +0000 (06:40 -0500)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 20 May 2005 13:11:43 +0000 (13:11 +0000)
Message-ID: <20050512164052.GA30287@petdance.com>

p4raw-id: //depot/perl@24511

Makefile.SH

index 70c3d6c..7026bc6 100644 (file)
@@ -1273,14 +1273,15 @@ etags:  TAGS
 TAGS: emacs/cperl-mode.elc
        sh emacs/ptags
 
-ctags: tags
-
 # Let's hope make will not go into an infinite loop on case-unsensitive systems
 # This may also fail if . is in the head of the path, since perl will
 # require -Ilib
 tags:  TAGS
        perl emacs/e2ctags.pl TAGS > tags
 
+ctags:
+       ctags -f Tags --totals --languages=c *.c *.h
+
 # AUTOMATICALLY GENERATED MAKE DEPENDENCIES--PUT NOTHING BELOW THIS LINE
 # If this runs make out of memory, delete /usr/include lines.
 !NO!SUBS!