(TAGS): Add support for "/* TAGS: foo */" marker.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 2 Sep 1997 22:03:41 +0000 (22:03 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 2 Sep 1997 22:03:41 +0000 (22:03 +0000)
sim/common/ChangeLog
sim/common/Make-common.in

index e2aa248e1c1ea4b9063ea42f0775e80899c1b25e..2cfe5ce6fc5125947047a34240568515de898648 100644 (file)
@@ -1,6 +1,7 @@
 Tue Sep  2 14:57:06 1997  Doug Evans  <dje@canuck.cygnus.com>
 
        * Makefile.in (TAGS): Add support for "/* TAGS: foo */" marker.
+       * Make-common.in (TAGS): Likewise.
        * sim-n-bits.h: Add TAGS comments for all functions.
        * sim-n-core.h: Likewise.
        * sim-n-endian.h: Likewise.
index 4e1542417f28cdb277a2534e36c9e574fbfe7a40..11f62a8d74015d7905a873fb6072230200819b17 100644 (file)
@@ -346,7 +346,7 @@ MAKEOVERRIDES=
 tags etags: TAGS
 
 TAGS: force
-       etags *.c *.h
+       etags --regex '/^\/[*] TAGS: .*/' *.c *.h
 
 clean: $(SIM_EXTRA_CLEAN)
        rm -f *.[oa] *~ core