*) 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:
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
# 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|'`; \