From 52f39a4103cfc82bf204adcd1fdbe1b71013fb07 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 12 Apr 2017 12:24:05 +0300 Subject: [PATCH] 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 --- Makefile.am | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2