changeset 21948:52684cb827cd

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
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 12 Apr 2017 12:24:05 +0300
parents f98d4d45e16e
children 669e17487d5d
files Makefile.am
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Tue Apr 11 09:34:11 2017 +0200
+++ b/Makefile.am	Wed Apr 12 12:24:05 2017 +0300
@@ -95,4 +95,5 @@
 	  if ! rmdir scan-reports 2>/dev/null; then \
 	    exit 1; \
 	  fi; \
+	  make distclean; \
 	fi