]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
build: populate include/xfs before building
authorDave Chinner <dchinner@redhat.com>
Tue, 30 Jun 2015 01:21:25 +0000 (11:21 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 30 Jun 2015 01:21:25 +0000 (11:21 +1000)
commit83d7c7d055497d894871bfc5dad401eb39a610e6
tree906046e265a74983b132e20169ef0a9ac573c5cb
parentc954da1ce565bb71fae41bf758b127ec8bfb4167
build: populate include/xfs before building

To avoid conflicts between dependency generation and header
installation, we need to separate the header installation out into a
separate step in the build that needs to be done before the actual
build.

Add a "HEADER_SUBDIRS" list to indicate which directories we need
to build headers in, and iterate it before the SUBDIRS build target.
Replace the implicit header installation rules in makefiles with
explict header targets so this will work.

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