From: Jens Axboe Date: Wed, 29 May 2013 19:49:21 +0000 (+0200) Subject: Makefile: don't run configure for make clean X-Git-Tag: fio-2.1.1~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d443abcfe076b9316bc8165366b36eb5e02a77aa;p=fio.git Makefile: don't run configure for make clean Normally we auto-run the configure part, if config-host.mak doesn't exist. But we don't need to do that for make clean. Signed-off-by: Jens Axboe --- diff --git a/Makefile b/Makefile index 57f3f82e..3de97354 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,10 @@ config-host-mak: configure @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh else config-host.mak: +ifneq ($(MAKECMDGOALS),clean) @echo "Running configure for you..." @./configure +endif all: include config-host.mak endif