changeset 17746:e3508d038aee

(autoloads, custom-deps, finder-data): Pass all "real" subdirs of lisp/ as args when rebuilding autoloads. (updates): New target, does all three of those.
author Richard M. Stallman <rms@gnu.org>
date Mon, 12 May 1997 00:51:53 +0000
parents ae0f1e4a63be
children b8a3deb464b9
files lisp/Makefile
diffstat 1 files changed, 32 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)