taken from spl/debian/rules
Additionally refactor the actual change into a separate target.
This is needed when building the kernel-modules from an rc-tag (e.g. 0.8.0-rc5)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
the --with-zfsexecdir configure option is available in ZFS 0.8 and replaces
the patch for cmd/zpool/Makefile.am
(cherry-picked from salsa.d.o e1af594a0970e2b84c922f483e6798e7d155b7b7)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
based on Debian's packaging work, but simplified:
- no DKMS
- no dracut
- no udebs
and remove old patches which were based on top of Debian's packaging.
Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>