]> granicus.if.org Git - flex/commitdiff
Added 'tags' target -- something I should have done long ago.
authorJohn Millaway <john43@users.sourceforge.net>
Fri, 28 Jun 2002 23:05:00 +0000 (23:05 +0000)
committerJohn Millaway <john43@users.sourceforge.net>
Fri, 28 Jun 2002 23:05:00 +0000 (23:05 +0000)
Makefile.am

index 661d27d1a29bba413c5f8052e64b34a6ff58ea7b..43d9fdf784d9ea09b021ea95f4190b58f0350aa2 100644 (file)
@@ -147,9 +147,13 @@ options.o: options.c options.h scanopt.h flexdef.h config.h
 scanopt.o: scanopt.c scanopt.h flexdef.h config.h
 buf.o: buf.c flexdef.h
 
+# Create a tags file.
+tags:
+       ctags --c-types='defgmstuv' *.[ch]
+
 #The below recipe for making the ChangeLog will only work if you have a copy of the cvs tree handy so let it fail gracefully.
 
 ChangeLog:
        -rcs2log -l 72 -u "vern Vern    vern@ee.lbl.gov" -u "wlestes    W. L. Estes     wlestes@uncg.edu" -u "millaway  John Millaway   millaway@acm.org | sed s:/usr/local/cvsroot/flex/::g >ChangeLog 
 
-.PHONY: ChangeLog
+.PHONY: ChangeLog tags