changeset 19739:6bf6679152c5

(TAGS tags): Simply refer this to the src subdir.
author Richard M. Stallman <rms@gnu.org>
date Wed, 03 Sep 1997 23:08:18 +0000
parents ecbb06adc669
children c7d76a23d1eb
files Makefile.in
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Wed Sep 03 23:02:21 1997 +0000
+++ b/Makefile.in	Wed Sep 03 23:08:18 1997 +0000
@@ -547,10 +547,9 @@
 	(cd src; $(MAKE) $(MFLAGS) relock)
 
 TAGS tags:	lib-src src
-	export EMACSDIR; EMACSDIR=`pwd`/src; \
-	export EMACS;  EMACS=`pwd`/src/emacs; \
-	cd ${srcdir}/src; \
-	$(MAKE) tags -f $$EMACSDIR/Makefile
+	# The src subdir knows how to do the right thing
+	# even when the build directory and source dir are different.
+	cd src; $(MAKE) tags
 
 check:
 	@echo "We don't have any tests for GNU Emacs yet."