This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
(C++) Patch to Make-lang.in
- To: gcc-patches at gcc dot gnu dot org
- Subject: (C++) Patch to Make-lang.in
- From: Jason Merrill <jason at redhat dot com>
- Date: 04 Dec 2000 16:53:35 +0000
For some reason, the rule for the C++ tags table was lost in the move to
One Makefile Government. I still use it.
2000-12-04 Jason Merrill <jason@redhat.com>
* Make-lang.in: Tweak top comment for emacs.
(cp/TAGS): Restore.
*** Make-lang.in.~1~ Mon Dec 4 16:26:58 2000
--- Make-lang.in Mon Dec 4 16:27:17 2000
***************
*** 1,4 ****
! # Top level makefile fragment for GNU C++.
# Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
--- 1,4 ----
! # Top level -*- makefile -*- fragment for GNU C++.
# Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
*************** cp/parse.o: cp/parse.c $(CXX_TREE_H) fla
*** 273,275 ****
--- 273,287 ----
system.h toplev.h $(GGC_H)
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(BIG_SWITCHFLAG) \
$(srcdir)/cp/parse.c $(OUTPUT_OPTION)
+ #
+ # These exist for maintenance purposes.
+
+ # Update the tags table.
+ cp/TAGS: force
+ cd $(srcdir)/cp ; \
+ etags *.c *.h ; \
+ echo 'l' | tr 'l' '\f' >> TAGS ; \
+ echo 'parse.y,0' >> TAGS ; \
+ etags -a ../*.h ../*.c;
+
+ .PHONY: cp/TAGS