Commit 65ebbf81 by Tom Tromey Committed by Tom Tromey

sourcebuild.texi (Front End Directory): Document tags.

	* doc/sourcebuild.texi (Front End Directory): Document tags.
	* configure: Rebuilt.
	* configure.in (target_list): Added tags.
	* Makefile.in (TAGS): Depend on lang.clean.  Include subdirectory
	TAGS files by reference.
	* objc/Make-lang.in (objc.tags): New target.

From-SVN: r63808
parent 361617e7
2003-03-04 Tom Tromey <tromey@redhat.com>
* doc/sourcebuild.texi (Front End Directory): Document tags.
* configure: Rebuilt.
* configure.in (target_list): Added tags.
* Makefile.in (TAGS): Depend on lang.clean. Include subdirectory
TAGS files by reference.
* objc/Make-lang.in (objc.tags): New target.
2003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync, * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
......
...@@ -3378,12 +3378,18 @@ paranoia: paranoia.o real.o $(LIBIBERTY) ...@@ -3378,12 +3378,18 @@ paranoia: paranoia.o real.o $(LIBIBERTY)
# These exist for maintenance purposes. # These exist for maintenance purposes.
# Update the tags table. # Update the tags table.
TAGS: force TAGS: lang.tags
(cd $(srcdir); \ (cd $(srcdir); \
mkdir tmp-tags; \ incs= ; \
mv -f c-parse.[ch] =*.[chy] tmp-tags; \ list='$(SUBDIRS)'; for dir in $$list; do \
etags *.y *.h *.c; \ if test -f $$dir/TAGS; then \
mv tmp-tags/* .; \ incs="$$incs --include $$dir/TAGS"; \
fi; \
done; \
mkdir tmp-tags; \
mv -f c-parse.[ch] =*.[chy] tmp-tags; \
etags *.y *.h *.c $$incs; \
mv tmp-tags/* .; \
rmdir tmp-tags) rmdir tmp-tags)
# A list of files to be destroyed during "lean" builds. # A list of files to be destroyed during "lean" builds.
......
...@@ -8913,7 +8913,7 @@ done ...@@ -8913,7 +8913,7 @@ done
rm -f Make-hooks rm -f Make-hooks
touch Make-hooks touch Make-hooks
target_list="all.build all.cross start.encap rest.encap \ target_list="all.build all.cross start.encap rest.encap tags \
info dvi generated-manpages \ info dvi generated-manpages \
install-normal install-common install-info install-man \ install-normal install-common install-info install-man \
uninstall \ uninstall \
......
...@@ -2814,7 +2814,7 @@ done ...@@ -2814,7 +2814,7 @@ done
rm -f Make-hooks rm -f Make-hooks
touch Make-hooks touch Make-hooks
target_list="all.build all.cross start.encap rest.encap \ target_list="all.build all.cross start.encap rest.encap tags \
info dvi generated-manpages \ info dvi generated-manpages \
install-normal install-common install-info install-man \ install-normal install-common install-info install-man \
uninstall \ uninstall \
......
@c Copyright (C) 2002 Free Software Foundation, Inc. @c Copyright (C) 2002, 2003 Free Software Foundation, Inc.
@c This is part of the GCC manual. @c This is part of the GCC manual.
@c For copying conditions, see the file gcc.texi. @c For copying conditions, see the file gcc.texi.
...@@ -539,6 +539,9 @@ deprecated). ...@@ -539,6 +539,9 @@ deprecated).
@itemx start.encap @itemx start.encap
@itemx rest.encap @itemx rest.encap
FIXME: exactly what goes in each of these targets? FIXME: exactly what goes in each of these targets?
@item tags
Build an @command{etags} @file{TAGS} file in the language subdirectory
in the source tree.
@item info @item info
Build info documentation for the front end, in the source directory. Build info documentation for the front end, in the source directory.
This target is only called by @command{make bootstrap} if a suitable This target is only called by @command{make bootstrap} if a suitable
......
...@@ -101,6 +101,9 @@ objc.all.cross: ...@@ -101,6 +101,9 @@ objc.all.cross:
objc.start.encap: objc.start.encap:
objc.rest.encap: objc.rest.encap:
objc.tags: force
cd $(srcdir)/objc; etags *.y *.c *.h
objc.info: objc.info:
objc.dvi: objc.dvi:
objc.generated-manpages: objc.generated-manpages:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment