From 01ff9d82d59afff679a124c479159e64389a61ff Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 1 Jul 2009 12:51:06 -0700 Subject: [PATCH] Install zfs_config, zfs_unconfig, symbols in to correct location. Provide a zfs.release file as part of the package. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index dcdada493c..cb1fefa0aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,7 +28,9 @@ distclean-local:: if CONFIG_KERNEL install-data-local: - instdest=$(DESTDIR)/${prefix}/src/zfs-$(ZFS_META_VERSION); \ + destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \ + instdest=$(DESTDIR)/${prefix}/src/$$destname; \ + echo "${ZFS_META_VERSION}" >$$instdest/zfs.release; \ for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ $(INSTALL) -D $$instfile $$instdest/$$instfile; \ done