diff --git a/Makefile.am b/Makefile.am index ae74137af..a78647ddf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,7 @@ pkgconfig_DATA = libcurl.pc dist-hook: rm -rf $(top_builddir)/tests/log find $(distdir) -name "*.dist" -exec rm {} \; - (distit=`find $(srcdir) -name "*.dist"`; \ + (distit=`find $(srcdir) -name "*.dist | grep -v ./ares/"`; \ for file in $$distit; do \ strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ cp $$file $(distdir)$$strip; \