diff options
author | Brian Behlendorf <[email protected]> | 2013-02-13 14:01:00 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-03-01 16:55:06 -0800 |
commit | d1142fbffe720cd5f82691d7a00816ce72f4e2b2 (patch) | |
tree | fc19d2bf74f9c11029e3b4222f333426913cccb3 /include/sys/sysevent | |
parent | 0298f3d67ff4971513ff848d640ca431a983de43 (diff) |
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 <[email protected]>
Diffstat (limited to 'include/sys/sysevent')
-rw-r--r-- | include/sys/sysevent/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am new file mode 100644 index 000000000..d2247d747 --- /dev/null +++ b/include/sys/sysevent/Makefile.am @@ -0,0 +1,13 @@ +COMMON_H = + +KERNEL_H = \ + $(top_srcdir)/include/sys/sysevent/eventdefs.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)/sys/sysevent +kernel_HEADERS = $(KERNEL_H) +endif |