From 98b918b69b71ca68d7440a29b0262b15b98e0b43 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 12 May 1997 00:59:57 +0000 Subject: [PATCH] (update-subdirs): New target. (updates): Do update-subdirs's job too. --- lisp/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.2