changeset 17748:689e217c6c8e

(update-subdirs): New target. (updates): Do update-subdirs's job too.
author Richard M. Stallman <rms@gnu.org>
date Mon, 12 May 1997 00:59:57 +0000
parents b8a3deb464b9
children 52f0da9d19ff
files lisp/Makefile
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile	Mon May 12 00:53:45 1997 +0000
+++ b/lisp/Makefile	Mon May 12 00:59:57 1997 +0000
@@ -34,6 +34,17 @@
         done; \
 	$(EMACS) -batch -f batch-update-autoloads $$wins
 
+update-subdirs: doit
+	subdirs=`find . -type d -print`; \
+	for file in $$subdirs; do \
+	   case $$file in */Old | */RCS) ;; \
+		*) wins="$$wins $$file" ;; \
+	   esac; \
+        done; \
+	for file in $$wins; do \
+	   ../update-subdirs $$file; \
+	done;
+
 updates: doit
 	subdirs=`find . -type d -print`; \
 	for file in $$subdirs; do \
@@ -41,6 +52,9 @@
 		*) wins="$$wins $$file" ;; \
 	   esac; \
         done; \
+	for file in $$wins; do \
+	   ../update-subdirs $$file; \
+	done; \
 	$(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins \
 	$(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins \
 	$(EMACS) -batch -f batch-update-autoloads $$wins