AboutSummaryRefsLogTreeCommitDiffStats
path: root/makefile.am
diff options
context:
space:
mode:
authordale_mellor <dale_mellor>2003-07-20 15:52:35 +0000
committerdale_mellor <dale_mellor>2003-07-20 15:52:35 +0000
commit2c6cfc753d5c4a6116bcf24307371c33f49bcfd1 (patch)
tree6d186a00c887d2061ac0d430bdf4b76bb41af83b /makefile.am
parent3a55e7e4684d33241d3e3162f3405d6d7cf37723 (diff)
downloadmcron-2c6cfc753d5c4a6116bcf24307371c33f49bcfd1.tar.gz
mcron-2c6cfc753d5c4a6116bcf24307371c33f49bcfd1.tar.bz2
mcron-2c6cfc753d5c4a6116bcf24307371c33f49bcfd1.zip
All changes from 0.99.1 to 0.99.2 pre-release.0.99.2
Diffstat (limited to 'makefile.am')
-rw-r--r--makefile.am16
1 files changed, 5 insertions, 11 deletions
diff --git a/makefile.am b/makefile.am
index 4276ebc..12a2a2b 100644
--- a/makefile.am
+++ b/makefile.am
@@ -41,27 +41,21 @@ 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@
+ 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)
./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@
+ rm -f $(fpp){cron,crontab}$(EXEEXT)