- rm -rf `find $(distdir)/macos -name CVS`
- rm -rf `find $(distdir)/macos -name .svn`
- rm -rf `find $(distdir)/macosx -name CVS`
- rm -rf `find $(distdir)/macosx -name .svn`
+ for item in $(EXTRA_DIST); do \
+ if test -d $$item; then \
+ echo -n "cleaning $$item dir for distribution..."; \
+ rm -rf `find $(distdir)/$$item -name .svn`; \
+ echo "OK"; \
+ fi; \
+ done