]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Makefile: binaries shouldn't directly depend on check_rundir
authorNeilBrown <neilb@suse.de>
Tue, 25 Nov 2014 00:44:18 +0000 (11:44 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 25 Nov 2014 00:44:18 +0000 (11:44 +1100)
commit7ae077587156db9a015103da79145c454eccd8b6
tree536c586005275ef3905333bf4b1e55c3a97f1731
parent88605db99c00f48bd56ad86718657d54e254be57
Makefile: binaries shouldn't directly depend on check_rundir

check_rundir always needs to be "built", so making
mdadm and mdmon depend on it causes them to always be built.
i.e. running
   make ; make

will needlessly link the binaries a second time.

So change the makefile to use "order-only" pre-requisites.

Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: NeilBrown <neilb@suse.de>
Makefile