]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
build: create include/xfs before installing headers
authorDave Chinner <dchinner@redhat.com>
Fri, 31 Jul 2015 04:44:52 +0000 (14:44 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 31 Jul 2015 04:44:52 +0000 (14:44 +1000)
commit7af0c6c39c72a4c461841687b5257b758e019070
tree8567d00f8382da6634dd4f7d37d7fb5f73d3e201
parentd530478cea128c5e3d168e368ecc40107c55953e
build: create include/xfs before installing headers

Currently the install-headers rule from include/Makefile creates
include/xfs, but there is no guarantee that it will be the first
directory that make executes that rule in. Hence other directories
can race with the creation on include/xfs and fail.

Move the creation of include/xfs to occur before running the
install_headers rules on the subdirectories to avoid any possible
races with creation.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
debian/rules
include/Makefile
include/buildrules