# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 872925263 0
# Node ID 390656cf7e41fed7774fd2b7fddc94c839abd0c6
# Parent  be0876941b71b602402a0d0a23d70d97db759af3
(man/Makefile): New target.
(tags): Define env var EMACS and run Makefile from build dir.

diff -r be0876941b71 -r 390656cf7e41 Makefile.in
--- a/Makefile.in	Fri Aug 29 19:53:25 1997 +0000
+++ b/Makefile.in	Sat Aug 30 07:14:23 1997 +0000
@@ -247,6 +247,9 @@
 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 @@
 	(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."