]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
build: populate include/xfs before building
authorDave Chinner <dchinner@redhat.com>
Thu, 30 Jul 2015 23:06:58 +0000 (09:06 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 23:06:58 +0000 (09:06 +1000)
commit337d9a2406a2936fd791ccdc0ee96b97f0a28fd0
tree99eb876b7d3cf7f36b92fc84273ac4477b031a9f
parentcebd3912f0a40b5f5727309929227309fa770ef2
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