diff -urN zfs-0.6.0-rc3.orig/Makefile.am zfs-0.6.0-rc3/Makefile.am --- zfs-0.6.0-rc3.orig/Makefile.am 2011-04-07 22:31:01.000000000 +0400 +++ zfs-0.6.0-rc3/Makefile.am 2011-04-12 03:25:36.000000000 +0400 @@ -33,9 +33,7 @@ if CONFIG_KERNEL install-data-local: - release=$(ZFS_META_VERSION)-$(ZFS_META_RELEASE); \ - instdest=$(DESTDIR)/usr/src/zfs-$$release/$(LINUX_VERSION); \ - echo "$$release" >$$instdest/zfs.release; \ + instdest=$(DESTDIR)/${includedir}/zfs-linux; \ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ $(INSTALL) -D $$instfile $$instdest/$$instfile; \ done