Makefile.in (TAGS): Don't mess with c-parse.[ch].
authorJason Merrill <jason@redhat.com>
Wed, 2 Jun 2004 20:44:48 +0000 (16:44 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 2 Jun 2004 20:44:48 +0000 (16:44 -0400)
        * Makefile.in (TAGS): Don't mess with c-parse.[ch].
        Do include c-parse.in.

From-SVN: r82582

gcc/ChangeLog
gcc/Makefile.in

index b70ac67846fcb70b2564c2d0b97acc9bb31515a3..bd63a97189c7f766e0464ef5eb0e78046cd8bbcc 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-02  Jason Merrill  <jason@redhat.com>
+
+       * Makefile.in (TAGS): Don't mess with c-parse.[ch].
+       Do include c-parse.in.
+
 2004-06-02  Eric Christopher  <echristo@redhat.com>
 
        * c-typeck.c (common_type): Don't lose type qualifiers
index 743f8e8c7f69983665a83520e5de5ee5d2a5d8f8..4625c0b83e6779c523d31c544c136615270b1ae0 100644 (file)
@@ -3517,11 +3517,7 @@ TAGS: lang.tags
            incs="$$incs --include $$dir/TAGS.sub";     \
          fi;                                           \
        done;                                           \
-       mkdir tmp-tags;                                 \
-       mv -f c-parse.[ch] tmp-tags;                    \
-       etags -o TAGS.sub *.y *.h *.c;                  \
-       mv tmp-tags/* .;                                \
-       rmdir tmp-tags;                                 \
+       etags -o TAGS.sub *.y *.h *.c -l yacc c-parse.in; \
        etags --include TAGS.sub $$incs)
 
 # ------------------------------------------------------