build: Replace "--enable-no-vixie-clobber" with "--disable-multi-user".
* configure.ac: Define "--disable-multi-user" option instead of "--enable-no-vixie-clobber". * Makefile.am (install-exec-hook) [MULTI_USER]: Only set crontab setuid bit. (bin_PROGRAMS): Keep only 'mcron' by default. (bin_PROGRAMS) [MULTI_USER]: Add 'crontab' (sbin_PROGRAMS) [MULTI_USER]: Add 'cron'. (noinst_PROGRAMS) [!MULTI_USER]: Add 'cron' and 'crontab'. (dist_man_MANS): Move 'crontab.1' and 'cron.8' ... (extra_mans): here. New variable. (dist_man_MANS) [MULTI_USER]: Add it. (all-local) [!MULTI_USER]: New target. Depend on it. (EXTRA_DIST) [!MULTI_USER]: Distribute it. (MAINTAINERCLEANFILES): Clean it.
This commit is contained in:
parent
f284b52446
commit
245f1ae338
2 changed files with 27 additions and 35 deletions
18
configure.ac
18
configure.ac
|
|
@ -104,18 +104,12 @@ else
|
|||
fi
|
||||
SENDMAIL=$ac_cv_prog_SENDMAIL
|
||||
|
||||
|
||||
# Find out if we are avoiding Vixie.
|
||||
|
||||
AC_MSG_CHECKING([whether to avoid clobbering a Vixie installation])
|
||||
AC_ARG_ENABLE(no-vixie-clobber,
|
||||
AC_HELP_STRING([--enable-no-vixie-clobber],
|
||||
[do not install with program names that would override a legacy cron installation]),
|
||||
NO_VIXIE_CLOBBER=$enableval,
|
||||
NO_VIXIE_CLOBBER=[no])
|
||||
AC_MSG_RESULT($NO_VIXIE_CLOBBER)
|
||||
AC_SUBST(NO_VIXIE_CLOBBER)
|
||||
|
||||
AC_ARG_ENABLE([multi-user],
|
||||
[AS_HELP_STRING([--disable-multi-user],
|
||||
[Don't Install legacy cron and crontab programs])],
|
||||
[enable_multi_user="$enableval"],
|
||||
[enable_multi_user="yes"])
|
||||
AM_CONDITIONAL([MULTI_USER], [test "x$enable_multi_user" != xyes])
|
||||
|
||||
# Configure the various files that mcron uses at runtime.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue