]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Makefile: Another fix for make distcheck when using scan-build
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:24:05 +0000 (12:24 +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 cdea1f3ebe6e886e934e96e01bbf1cda0d39861f..25fb9459e493b900c8bfc6bf63fb3d9ad516f85e 100644 (file)
@@ -105,4 +105,5 @@ distcheck-hook:
          if ! rmdir scan-reports 2>/dev/null; then \
            exit 1; \
          fi; \
+         make distclean; \
        fi