changeset 19623:390656cf7e41

(man/Makefile): New target. (tags): Define env var EMACS and run Makefile from build dir.
author Richard M. Stallman <rms@gnu.org>
date Sat, 30 Aug 1997 07:14:23 +0000
parents be0876941b71
children c73494a6bcd3
files Makefile.in
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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."