From: Richard M. Stallman Date: Mon, 12 May 1997 00:51:53 +0000 (+0000) Subject: (autoloads, custom-deps, finder-data): X-Git-Tag: emacs-20.1~2199 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f83a4f351961d45385852594ec9991801af2702e;p=emacs.git (autoloads, custom-deps, finder-data): Pass all "real" subdirs of lisp/ as args when rebuilding autoloads. (updates): New target, does all three of those. --- diff --git a/lisp/Makefile b/lisp/Makefile index f32871bffbd..8187b99098e 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -8,13 +8,42 @@ lisptagsfiles = [a-zA-Z]*.el */[a-zA-Z]*.el doit: custom-deps: doit - $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies + subdirs=`find . -type d -print`; \ + for file in $$subdirs; do \ + case $$file in */Old | */RCS) ;; \ + *) wins="$$wins $$file" ;; \ + esac; \ + done; \ + $(EMACS) -batch -l cus-dep.el -f custom-make-dependencies $$wins finder-data: doit - $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist + subdirs=`find . -type d -print`; \ + for file in $$subdirs; do \ + case $$file in */Old | */RCS) ;; \ + *) wins="$$wins $$file" ;; \ + esac; \ + done; \ + $(EMACS) -batch -l finder -f finder-compile-keywords-make-dist $$wins autoloads: doit - $(EMACS) -batch -f batch-update-autoloads . + subdirs=`find . -type d -print`; \ + for file in $$subdirs; do \ + case $$file in */Old | */RCS) ;; \ + *) wins="$$wins $$file" ;; \ + esac; \ + done; \ + $(EMACS) -batch -f batch-update-autoloads $$wins + +updates: doit + subdirs=`find . -type d -print`; \ + for file in $$subdirs; do \ + case $$file in */Old | */RCS) ;; \ + *) wins="$$wins $$file" ;; \ + esac; \ + 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 TAGS: $(lisptagsfiles) ../lib-src/etags $(lisptagsfiles)