This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

(C++) Patch to Make-lang.in


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]