]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Makefile
Makefile: check that 'run' directory exists.
authorNeilBrown <neilb@suse.de>
Mon, 5 Aug 2013 06:39:45 +0000 (16:39 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 5 Aug 2013 06:42:12 +0000 (16:42 +1000)
commitebf916c5268c7bf3e169f2f3d9a0d6e9be75f5ed
treeea128ff39c92f0c1292c41603a9ae2943c8a98bf
parente49a8a80265ab2150c96b636450f5825bcd69d4a
Makefile: check that 'run' directory exists.

mdadm default to using /run/mdadm.  However not all distros
provide /run yet.  This can confuse people who build their own
mdadm.
So have "make" complain if the given directory doesn't exist.
This will make it harder to build an mdadm which doesn't work.

Reported-by: Albert Pauw <albert.pauw@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Makefile