From: Timo Sirainen Date: Wed, 12 Apr 2017 09:24:05 +0000 (+0300) Subject: Makefile: Another fix for make distcheck when using scan-build X-Git-Tag: 2.2.29.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Frelease-2.2.29;p=thirdparty%2Fdovecot%2Fcore.git Makefile: Another fix for make distcheck when using scan-build It seems to run two configures with different parameters, which results in some of the files not being cleaned up. So this hopefully fixes: ERROR: files left in build directory after distclean: ./src/util/tcpwrap --- diff --git a/Makefile.am b/Makefile.am index 26b7c57fad..8156c6ba18 100644 --- a/Makefile.am +++ b/Makefile.am @@ -95,4 +95,5 @@ distcheck-hook: if ! rmdir scan-reports 2>/dev/null; then \ exit 1; \ fi; \ + make distclean; \ fi