AboutSummaryRefsLogTreeCommitDiffStats
diff options
context:
space:
mode:
authorDale Mellor <dale@rdmp.org>2010-06-13 04:32:51 +0100
committerDale Mellor <dale@rdmp.org>2010-06-13 04:32:51 +0100
commita5e51bfa85d7b53390691ed3ae7308a04b18607a (patch)
tree8d6a09dc9007298a4483e976a2675c0b1f49e000
parent03e95be5d64e9445363cfa407460ac0efb81ba21 (diff)
downloadmcron-a5e51bfa85d7b53390691ed3ae7308a04b18607a.tar.gz
mcron-a5e51bfa85d7b53390691ed3ae7308a04b18607a.tar.bz2
mcron-a5e51bfa85d7b53390691ed3ae7308a04b18607a.zip
Make sure $DESTDIR pervades the makefile.
-rw-r--r--makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/makefile.am b/makefile.am
index 8953729..46dd170 100644
--- a/makefile.am
+++ b/makefile.am
@@ -68,10 +68,10 @@ install-exec-hook:
$(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); \
- $(INSTALL) -d --mode='u=rwx' /var/cron; \
- $(INSTALL) -d --mode='u=rwx,og=rx' /var/run; \
- $(INSTALL) -d --mode='u=rwx,og=rx' @GUILE_SITE@; \
- $(INSTALL) -d --mode='u=rwx,og=rx' @GUILE_SITE@/mcron; \
+ $(INSTALL) -d --mode='u=rwx' $(DESTDIR)/var/cron; \
+ $(INSTALL) -d --mode='u=rwx,og=rx' $(DESTDIR)/var/run; \
+ $(INSTALL) -d --mode='u=rwx,og=rx' $(DESTDIR)@GUILE_SITE@; \
+ $(INSTALL) -d --mode='u=rwx,og=rx' $(DESTDIR)@GUILE_SITE@/mcron; \
elif [ "x@NO_VIXIE_CLOBBER@" = "xyes" ]; then \
echo "Not installing Vixie-style programs"; \
else \