diff Makefile.in @ 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 40bed12c4f2e
children d44bb51c42b5
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."