]> git.eshelyaron.com Git - emacs.git/commitdiff
(man/Makefile): New target.
authorRichard M. Stallman <rms@gnu.org>
Sat, 30 Aug 1997 07:14:23 +0000 (07:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 30 Aug 1997 07:14:23 +0000 (07:14 +0000)
(tags): Define env var EMACS and run Makefile from build dir.

Makefile.in

index 9be5e28b19d22744ed3cffa4ad8f59ec26141a30..9a137b2e0dfe53bad79088ca4f0870554e9486fa 100644 (file)
@@ -247,6 +247,9 @@ src/config.stamp: src/config.in config.status
 lib-src/Makefile: lib-src/Makefile.in config.status
        ./config.status
 
+man/Makefile: man/Makefile.in config.status
+       ./config.status
+
 oldXMenu/Makefile: oldXMenu/Makefile.in config.status
        ./config.status
 
@@ -542,8 +545,11 @@ relock:
        (cd lwlib; chmod u+w *.[ch] Makefile README)
        (cd src; $(MAKE) $(MFLAGS) relock)
 
-TAGS tags:     lib-src
-       cd ${srcdir}/src; $(MAKE) tags
+TAGS tags:     lib-src src
+       export EMACSDIR; EMACSDIR=`pwd`/src; \
+       export EMACS;  EMACS=`pwd`/src/emacs; \
+       cd ${srcdir}/src; \
+       $(MAKE) tags -f $$EMACSDIR/Makefile
 
 check:
        @echo "We don't have any tests for GNU Emacs yet."