]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Don't run plymouth-update-initrd during distcheck
authorRay Strode <rstrode@redhat.com>
Fri, 30 May 2008 04:10:51 +0000 (00:10 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 30 May 2008 04:10:51 +0000 (00:10 -0400)
Makefile.am
configure.ac
scripts/Makefile.am

index 2c3e11dff2a30c9a799f53668e9d50f966ba6d1d..17938cb83d07a304f23b0313e0a97e4968cdfef5 100644 (file)
@@ -1,4 +1,5 @@
 SUBDIRS = src scripts
+DISTCHECK_CONFIGURE_FLAGS = --without-boot-entry
 
 EXTRA_DIST = ChangeLog                                                         \
              README
index e11303bbbd51149c0c4dbbe24cb507c9c9fc8cdc..735936701763fa5435eec6b7a73b47c503bac67e 100644 (file)
@@ -48,6 +48,10 @@ if test x$enable_tracing = xyes; then
   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)
 
index f3cc0927715545ba936dcc9b370225ceaf1ebbdd..0a55191773fb5582d3bb9b97f43c5865423b17fa 100644 (file)
@@ -3,8 +3,10 @@ noinst_SCRIPTS = new-object.sh
 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