projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9ea0c3
)
Makefile: don't run configure for make clean
author
Jens Axboe
<axboe@kernel.dk>
Wed, 29 May 2013 19:49:21 +0000
(21:49 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 29 May 2013 19:49:21 +0000
(21:49 +0200)
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 <axboe@kernel.dk>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 57f3f82ea35fe1430ce9706c546dc506723713d6..3de97354b8be2b3eb7c221ea573630003134b6a6 100644
(file)
--- 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