AC_DEFINE(PLY_ENABLE_TRACING, 1, [Build in verbose debug tracing spew])
fi
+AC_ARG_WITH(boot-entry, AS_HELP_STRING([--with-boot-entry],[create initrd and grub entry]),with_boot_entry=$withval,with_boot_entry=yes)
+
+AM_CONDITIONAL(ADD_BOOT_ENTRY, [test "$with_boot_entry" = yes])
+
AC_ARG_WITH(logo, AC_HELP_STRING([--with-logo], [logo used by boot splash plugins]),logofile=${withval},logofile=$datadir/pixmaps/system-logo-white.png)
AC_SUBST(logofile)
initrdscriptdir = $(libexecdir)/plymouth
initrdscript_SCRIPTS = plymouth-update-initrd
-install-data-hook:
- $(DESTDIR)$(initrdscriptdir)/plymouth-update-initrd
+if ADD_BOOT_ENTRY
+install-data-hook:
+ $(initrdscriptdir)/plymouth-update-initrd
+endif
EXTRA_DIST=$(initrdscript_SCRIPTS) $(noinst_SCRIPTS) default.cfg
MAINTAINERCLEANFILES = Makefile.in