changeset 37275:9a3f00ed6c43

(nonobsolete_setwins): New macro. (finder-data): Use it instead of `setwins'. From: Dave Love <fx@gnu.org>.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 09 Apr 2001 14:50:09 +0000
parents 686cd6704f1a
children d93701b9d8c7
files lisp/Makefile.in
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile.in	Mon Apr 09 14:29:56 2001 +0000
+++ b/lisp/Makefile.in	Mon Apr 09 14:50:09 2001 +0000
@@ -119,6 +119,12 @@
 		*) wins="$$wins $$file" ;; \
 	   esac; \
         done
+nonobsolete_setwins=subdirs=`find $$wd -type d -print`; \
+	for file in $$subdirs; do \
+	   case $$file in */Old | */RCS | */CVS | */CVS/* | */=* | */obsolete ) ;; \
+		*) wins="$$wins $$file" ;; \
+	   esac; \
+        done
 
 doit:
 
@@ -132,7 +138,7 @@
 finder-inf.el:
 	echo "(provide 'finder-inf)" >> $@
 finder-data: finder-inf.el doit
-	wd=$(lisp); $(setwins); \
+	wd=$(lisp); $(nonobsolete_setwins); \
 	echo Directories: $$wins; \
 	$(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins