# HG changeset patch # User Richard M. Stallman # Date 863398313 0 # Node ID e3508d038aeee94ad9347548ad70f67b96780787 # Parent ae0f1e4a63bead4db0a291e19cf180ad177422ed (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 -r ae0f1e4a63be -r e3508d038aee lisp/Makefile --- a/lisp/Makefile Mon May 12 00:49:50 1997 +0000 +++ b/lisp/Makefile Mon May 12 00:51:53 1997 +0000 @@ -8,13 +8,42 @@ 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)