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]
Other format: [Raw text]

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)
  
  # ------------------------------------------------------

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