allow not installing /etc/enlightenment/sysactions.conf

We provide just a default, but distros should use their own version
with system specific groups and hibernate/suspend actions (pm-utils or
so)



SVN revision: 45596
devs/princeamd/enlightenment-0.17-elive
Gustavo Sverzut Barbieri 14 years ago
parent 51347f22f4
commit f0588f2b2d
  1. 8
      configure.ac
  2. 7
      data/etc/Makefile.am

@ -216,6 +216,14 @@ fi
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)
AC_MSG_CHECKING([whether to install sysactions.conf])
AC_ARG_ENABLE([install-sysactions],
AS_HELP_STRING([--disable-install-sysactions],[disable installing /etc/enlightenment/sysactions.conf @<:@default=enabled@:>@]),
[e_cv_enable_install_sysactions=$enableval],
AC_CACHE_VAL([e_cv_enable_install_sysactions], [e_cv_enable_install_sysactions=yes]))
AC_MSG_RESULT([$e_cv_enable_install_sysactions])
AM_CONDITIONAL(INSTALL_SYSACTIONS, test x${e_cv_enable_install_sysactions} = xyes)
AC_MSG_CHECKING([whether to enable Files menu item])
AC_ARG_ENABLE([files],
AS_HELP_STRING([--disable-files],[disable Files menu item @<:@default=enabled@:>@]),

@ -1,6 +1,9 @@
MAINTAINERCLEANFILES = Makefile.in
filesdir = $(sysconfdir)/enlightenment
files_DATA = \
sysactions.conf
files_DATA =
if INSTALL_SYSACTIONS
files_DATA += sysactions.conf
endif
EXTRA_DIST = $(files_DATA)

Loading…
Cancel
Save