for i in $(configprofile) ; do \
cp -arx dracut.conf.d/$$i/* $(DESTDIR)$(pkglibdir)/dracut.conf.d/ ;\
done
-ifneq ($(enable_test),no)
+ifeq ($(enable_test),yes)
cp -arx test $(DESTDIR)$(pkglibdir)
else
rm -rf $(DESTDIR)$(pkglibdir)/modules.d/80test*
--bashcompletiondir) read_arg bashcompletiondir "$@" || shift ;;
--enable-dracut-cpio) enable_dracut_cpio=yes ;;
--disable-dracut-cpio) enable_dracut_cpio=no ;;
+ --enable-test) enable_test=yes ;;
--configprofile) read_arg configprofile "$@" || shift ;;
*) echo "Ignoring unknown option '$1'" ;;
esac
sbindir ?= ${sbindir:-${prefix}/sbin}
mandir ?= ${mandir:-${prefix}/share/man}
enable_documentation ?= ${enable_documentation:-yes}
+enable_test ?= ${enable_test:-no}
enable_dracut_cpio ?= ${enable_dracut_cpio}
bindir ?= ${bindir:-${prefix}/bin}
KMOD_CFLAGS ?= $(${PKG_CONFIG} --cflags " libkmod >= 23 ") ${KMOD_CFLAGS_EXTRA}
[ -z "$enable_documentation" ] && export enable_documentation=no
# shellcheck disable=SC2086
-./configure $CONFIGURE_ARG
+./configure --enable-test $CONFIGURE_ARG
# treat warnings as error
# shellcheck disable=SC2086