]> git.eshelyaron.com Git - emacs.git/commitdiff
(TAGS tags): Simply refer this to the src subdir.
authorRichard M. Stallman <rms@gnu.org>
Wed, 3 Sep 1997 23:08:18 +0000 (23:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 3 Sep 1997 23:08:18 +0000 (23:08 +0000)
Makefile.in

index ac919620e57c6d99901d07a7fd29b0da0b122199..5ae191d5fd6765461b3d2416dea045aaf25a5274 100644 (file)
@@ -547,10 +547,9 @@ relock:
        (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."