*** empty log message ***
[bpt/emacs.git] / lisp / Makefile.in
index 3fb63dc..703d5c7 100644 (file)
@@ -119,6 +119,12 @@ setwins=subdirs=`find $$wd -type d -print`; \
                *) 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 @@ custom-deps: cus-load.el doit
 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
 
@@ -190,7 +196,7 @@ $(DONTCOMPILE:.el=.elc):
 # load's in the files being compiled find the right files.
 
 compile-files: subdirs.el doit
-       find $(lisp) -name "*.elc" -print | xargs chmod +w; \
+       find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \
        wd=$(lisp); $(setwins); \
        elpat=`echo $$wins | tr '       ' '\012\012' | \
                sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \