diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-12 00:59:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-12 00:59:57 +0000 |
commit | 98b918b69b71ca68d7440a29b0262b15b98e0b43 (patch) | |
tree | a4b4f4b8b78d1ed61ce850d24b9c327fcb247fd1 /lisp | |
parent | e888d4496e285281f95f3c8451117e6dd2d85bc2 (diff) | |
download | emacs-98b918b69b71ca68d7440a29b0262b15b98e0b43.tar.gz emacs-98b918b69b71ca68d7440a29b0262b15b98e0b43.tar.bz2 emacs-98b918b69b71ca68d7440a29b0262b15b98e0b43.zip |
(update-subdirs): New target.
(updates): Do update-subdirs's job too.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 |