diff options
Diffstat (limited to 'module/Makefile.in')
-rw-r--r-- | module/Makefile.in | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/module/Makefile.in b/module/Makefile.in index 34e61945b..59b485d55 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -97,7 +97,7 @@ modules_install: modules_install-@ac_system@ modules_uninstall-Linux: @# Uninstall the kernel modules kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@ \ - list='$(ZFS_MODULES)'; for objdir in $$list; do \ + for objdir in $(ZFS_MODULES); do \ $(RM) -R $$kmoddir/$(INSTALL_MOD_DIR)/$$objdir; \ done @@ -107,10 +107,9 @@ modules_uninstall-FreeBSD: modules_uninstall: modules_uninstall-@ac_system@ distdir: - list='$(ZFS_MODULES)'; for objdir in $$list os/linux/spl os/linux/zfs; do \ - (cd @top_srcdir@/module && find $$objdir -name '*.[chS]' | \ - while read path; do \ - mkdir -p @abs_top_builddir@/module/$$distdir/$${path%/*}; \ - cp $$path @abs_top_builddir@/module/$$distdir/$$path; \ - done); \ - done + (cd @srcdir@ && find $(ZFS_MODULES) os -name '*.[chS]') | \ + while read path; do \ + mkdir -p $$distdir/$${path%/*}; \ + cp @srcdir@/$$path $$distdir/$$path; \ + done; \ + cp @srcdir@/Makefile.bsd $$distdir/Makefile.bsd |