From: Richard M. Stallman Date: Mon, 12 May 1997 00:59:57 +0000 (+0000) Subject: (update-subdirs): New target. X-Git-Tag: emacs-20.1~2197 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98b918b69b71ca68d7440a29b0262b15b98e0b43;p=emacs.git (update-subdirs): New target. (updates): Do update-subdirs's job too. --- diff --git a/lisp/Makefile b/lisp/Makefile index 8187b99098e..80cb5c41356 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -34,6 +34,17 @@ autoloads: doit 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 @@ updates: doit *) 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