]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Makefile: Another fix for make distcheck when using scan-build release-2.2.29
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 12 Apr 2017 09:24:05 +0000 (12:24 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 12 Apr 2017 09:28:27 +0000 (12:28 +0300)
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

index 26b7c57fad99f21c24b6e78816fdb33a42c5e77b..8156c6ba1864a76e6e965613c1b65346861f7750 100644 (file)
@@ -95,4 +95,5 @@ distcheck-hook:
          if ! rmdir scan-reports 2>/dev/null; then \
            exit 1; \
          fi; \
+         make distclean; \
        fi