summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cron/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/cron/Makefile.in b/cron/Makefile.in
index 5cf5301f5..9d90164ea 100644
--- a/cron/Makefile.in
+++ b/cron/Makefile.in
@@ -44,6 +44,8 @@ PROGRAMS= checkdbs mailpasswds senddigests gate_news \
nightly_gzip bumpdigests
FILES= crontab.in
+BUILDDIR= ../build/cron
+
# Modes for directories and executables created by the install
# process. Default to group-writable directories but
# user-only-writable for executables.
@@ -62,7 +64,7 @@ install:
done
for f in $(PROGRAMS); \
do \
- $(INSTALL) -m $(EXEMODE) $$f $(CRONDIR); \
+ $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(CRONDIR); \
done
finish: