diff options
author | dale_mellor <dale_mellor> | 2003-07-05 12:13:19 +0000 |
---|---|---|
committer | dale_mellor <dale_mellor> | 2003-07-05 12:13:19 +0000 |
commit | 62b040336328d99ade41776bd52b1d7cd7298629 (patch) | |
tree | 501d06d9af92555884a0820214a2634bde8a36e9 /makefile.am | |
parent | 3725aedd02d9b24c1239610066dd62387ef4d5a9 (diff) | |
download | mcron-62b040336328d99ade41776bd52b1d7cd7298629.tar.gz mcron-62b040336328d99ade41776bd52b1d7cd7298629.tar.bz2 mcron-62b040336328d99ade41776bd52b1d7cd7298629.zip |
Disabled installation of cron, crontab by default. Fixed up all information files to reflect this.0.99.1
Diffstat (limited to 'makefile.am')
-rw-r--r-- | makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/makefile.am b/makefile.am index 00b54ee..4276ebc 100644 --- a/makefile.am +++ b/makefile.am @@ -41,21 +41,27 @@ mcron.c : config.scm mcron.scm vixie.scm environment.scm email.scm crontab.scm \ @rm -f mcron.escaped.scm > /dev/null 2>&1 install-exec-local: +@IFEQ_VIXIE@ @if [ `id -u` -ne 0 ]; then \ echo "*** MUST BE ROOT TO INSTALL MCRON ***"; \ exit 1; \ fi +@ENDIF@ #full program prefix fpp = $(DESTDIR)$(bindir)/@real_program_prefix@ install-exec-hook: +@IFEQ_VIXIE@ @rm -f $(fpp)cron$(EXEEXT) > /dev/null 2>&1 @$(INSTALL) --mode='u=rwx' mcron$(EXEEXT) $(fpp)cron$(EXEEXT) @rm -f $(fpp)crontab$(EXEEXT) > /dev/null 2>&1 @$(INSTALL) --mode='u=rwxs,og=rx' mcron$(EXEEXT) $(fpp)crontab$(EXEEXT) +@ENDIF@ ./mkinstalldirs -m 'u=rwx' /var/cron ./mkinstalldirs -m 'u=rwx,og=rx' /var/run uninstall-hook: +@IFEQ_VIXIE@ @rm -f $(fpp){cron,crontab}$(EXEEXT) +@ENDIF@ |