From a5e51bfa85d7b53390691ed3ae7308a04b18607a Mon Sep 17 00:00:00 2001 From: Dale Mellor Date: Sun, 13 Jun 2010 04:32:51 +0100 Subject: Make sure $DESTDIR pervades the makefile. --- makefile.am | 8 ++++---- 1 file 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 \ -- cgit v1.2.3