SUBDIRS = include rpm
if CONFIG_USER
-SUBDIRS += dracut udev etc man scripts lib cmd contrib
+SUBDIRS += udev etc man scripts lib cmd contrib
endif
if CONFIG_KERNEL
SUBDIRS += module
AC_CONFIG_FILES([
Makefile
- dracut/Makefile
- dracut/90zfs/Makefile
udev/Makefile
udev/rules.d/Makefile
etc/Makefile
cmd/zed/Makefile
contrib/Makefile
contrib/bash_completion.d/Makefile
+ contrib/dracut/Makefile
+ contrib/dracut/90zfs/Makefile
contrib/initramfs/Makefile
module/Makefile
module/avl/Makefile
-SUBDIRS = bash_completion.d initramfs
-DIST_SUBDIRS = bash_completion.d initramfs
+SUBDIRS = bash_completion.d dracut initramfs
+DIST_SUBDIRS = bash_completion.d dracut initramfs
--- /dev/null
+pkgdracutdir = $(dracutdir)/modules.d/90zfs
+pkgdracut_SCRIPTS = \
+ $(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/module-setup.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/mount-zfs.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/parse-zfs.sh \
+ $(top_srcdir)/contrib/dracut/90zfs/zfs-lib.sh
+
+EXTRA_DIST = \
+ $(top_srcdir)/contrib/dracut/90zfs/export-zfs.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/module-setup.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/mount-zfs.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/parse-zfs.sh.in \
+ $(top_srcdir)/contrib/dracut/90zfs/zfs-lib.sh.in
+
+$(pkgdracut_SCRIPTS):
+ -$(SED) -e 's,@bindir\@,$(bindir),g' \
+ -e 's,@sbindir\@,$(sbindir),g' \
+ -e 's,@udevdir\@,$(udevdir),g' \
+ -e 's,@udevruledir\@,$(udevruledir),g' \
+ -e 's,@sysconfdir\@,$(sysconfdir),g' \
+ '$@.in' >'$@'
+
+distclean-local::
+ -$(RM) $(pkgdracut_SCRIPTS)
+++ /dev/null
-pkgdracutdir = $(dracutdir)/modules.d/90zfs
-pkgdracut_SCRIPTS = \
- $(top_srcdir)/dracut/90zfs/export-zfs.sh \
- $(top_srcdir)/dracut/90zfs/module-setup.sh \
- $(top_srcdir)/dracut/90zfs/mount-zfs.sh \
- $(top_srcdir)/dracut/90zfs/parse-zfs.sh \
- $(top_srcdir)/dracut/90zfs/zfs-lib.sh
-
-EXTRA_DIST = \
- $(top_srcdir)/dracut/90zfs/export-zfs.sh.in \
- $(top_srcdir)/dracut/90zfs/module-setup.sh.in \
- $(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
- $(top_srcdir)/dracut/90zfs/parse-zfs.sh.in \
- $(top_srcdir)/dracut/90zfs/zfs-lib.sh.in
-
-$(pkgdracut_SCRIPTS):
- -$(SED) -e 's,@bindir\@,$(bindir),g' \
- -e 's,@sbindir\@,$(sbindir),g' \
- -e 's,@udevdir\@,$(udevdir),g' \
- -e 's,@udevruledir\@,$(udevruledir),g' \
- -e 's,@sysconfdir\@,$(sysconfdir),g' \
- '$@.in' >'$@'
-
-distclean-local::
- -$(RM) $(pkgdracut_SCRIPTS)
%{_datadir}/%{name}
%files dracut
-%doc dracut/README.dracut.markdown
+%doc contrib/dracut/README.dracut.markdown
%{_dracutdir}/modules.d/*
%if 0%{?_initramfs}