From d1142fbffe720cd5f82691d7a00816ce72f4e2b2 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 13 Feb 2013 14:01:00 -0800 Subject: Remove custom install-data-local for headers Rather than use a custom install target it is cleaner to define a 'kerneldir' and set 'kernel_HEADERS' appropriately. This allows us to leverage the standing configure install support. Additionally, I took this opertunity add the missing make files to the include subdirectories. Signed-off-by: Brian Behlendorf --- include/fs/Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/fs/Makefile.am (limited to 'include/fs') diff --git a/include/fs/Makefile.am b/include/fs/Makefile.am new file mode 100644 index 000000000..2a3673712 --- /dev/null +++ b/include/fs/Makefile.am @@ -0,0 +1,13 @@ +COMMON_H = + +KERNEL_H = \ + $(top_srcdir)/include/fs/fs_subr.h + +USER_H = + +EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H) + +if CONFIG_KERNEL +kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/fs +kernel_HEADERS = $(KERNEL_H) +endif -- cgit v1.2.3