diff options
| author | bwarsaw | 2001-08-04 02:06:50 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-04 02:06:50 +0000 |
| commit | 1244345dbfc09ceec7d879ab9323b735d0349a13 (patch) | |
| tree | b6c940e90b89e3299faa538c390ab4a240f9090a | |
| parent | 3f33536dc41826eddb48321f7ca60637263e1fff (diff) | |
| download | mailman-1244345dbfc09ceec7d879ab9323b735d0349a13.tar.gz mailman-1244345dbfc09ceec7d879ab9323b735d0349a13.tar.zst mailman-1244345dbfc09ceec7d879ab9323b735d0349a13.zip | |
Split SCRIPTS into FILES and PROGRAMS. The former is installed with
mode 644 while the latter is installed with mode 775. This lets you
run cron scripts from the command line.
| -rw-r--r-- | cron/Makefile.in | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cron/Makefile.in b/cron/Makefile.in index 99a496b18..5cf5301f5 100644 --- a/cron/Makefile.in +++ b/cron/Makefile.in @@ -40,16 +40,15 @@ CRONDIR= $(prefix)/cron SHELL= /bin/sh -SCRIPTS= checkdbs crontab.in mailpasswds senddigests gate_news \ -nightly_gzip bumpdigests +PROGRAMS= checkdbs mailpasswds senddigests gate_news \ + nightly_gzip bumpdigests +FILES= crontab.in # Modes for directories and executables created by the install # process. Default to group-writable directories but # user-only-writable for executables. -DIRMODE= 775 EXEMODE= 755 FILEMODE= 644 -INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) # Rules @@ -57,10 +56,14 @@ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE) all: install: - for f in $(SCRIPTS); \ + for f in $(FILES); \ do \ $(INSTALL) -m $(FILEMODE) $$f $(CRONDIR); \ done + for f in $(PROGRAMS); \ + do \ + $(INSTALL) -m $(EXEMODE) $$f $(CRONDIR); \ + done finish: |
