This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH to Makefile.in:TAGS
- From: Jason Merrill <jason at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 02 Jun 2004 16:44:03 -0400
- Subject: PATCH to Makefile.in:TAGS
Now that c-parse.[chy] are created in the build directory we don't need to
worry about them when making the TAGS file.
Applied to trunk.
2004-06-01 Jason Merrill <jason@redhat.com>
* Makefile.in (TAGS): Don't mess with c-parse.[ch].
Do include c-parse.in.
*** Makefile.in.~1~ 2004-06-02 16:41:19.000000000 -0400
--- Makefile.in 2004-06-02 16:41:56.000000000 -0400
*************** TAGS: lang.tags
*** 3515,3525 ****
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 --include TAGS.sub $$incs)
# ------------------------------------------------------
--- 3515,3521 ----
incs="$$incs --include $$dir/TAGS.sub"; \
fi; \
done; \
! etags -o TAGS.sub *.y *.h *.c -l yacc c-parse.in; \
etags --include TAGS.sub $$incs)
# ------------------------------------------------------