Add the release component to headers
[zfs.git] / include / sys / Makefile.am
index 63dc24e..083e121 100644 (file)
@@ -49,6 +49,7 @@ COMMON_H = \
        $(top_srcdir)/include/sys/vdev_file.h \
        $(top_srcdir)/include/sys/vdev.h \
        $(top_srcdir)/include/sys/vdev_impl.h \
+       $(top_srcdir)/include/sys/xvattr.h \
        $(top_srcdir)/include/sys/zap.h \
        $(top_srcdir)/include/sys/zap_impl.h \
        $(top_srcdir)/include/sys/zap_leaf.h \
@@ -72,9 +73,9 @@ COMMON_H = \
        $(top_srcdir)/include/sys/zrlock.h
 
 KERNEL_H = \
-       $(top_srcdir)/include/sys/blkdev.h \
        $(top_srcdir)/include/sys/zfs_ioctl.h \
        $(top_srcdir)/include/sys/zfs_onexit.h \
+       ${top_srcdir}/include/sys/zpl.h \
        $(top_srcdir)/include/sys/zvol.h
 
 USER_H =
@@ -87,6 +88,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
 endif
 
 if CONFIG_KERNEL
-kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION)/sys
+kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE)/$(LINUX_VERSION)/sys
 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
 endif