comparison Makefile.am @ 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 9cf2d362b1de
children
comparison
equal deleted inserted replaced
21947:f98d4d45e16e 21948:52684cb827cd
93 rm -rf scan-reports; \ 93 rm -rf scan-reports; \
94 scan-build -o scan-reports make 2>&1 || exit 1; \ 94 scan-build -o scan-reports make 2>&1 || exit 1; \
95 if ! rmdir scan-reports 2>/dev/null; then \ 95 if ! rmdir scan-reports 2>/dev/null; then \
96 exit 1; \ 96 exit 1; \
97 fi; \ 97 fi; \
98 make distclean; \
98 fi 99 fi