summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-07-20 08:18:01 +0100
committerLexi Winter <lexi@le-fay.org>2025-07-20 08:18:01 +0100
commita04d12a2366900d114e97836154dc9ab513b803e (patch)
tree6092ac139f8d9a381969cb9049c59708d590890c
parenta886a1a262c6dd85e4589f8edd1f3d031acd3863 (diff)
downloadlfutils-a04d12a2366900d114e97836154dc9ab513b803e.tar.gz
lfutils-a04d12a2366900d114e97836154dc9ab513b803e.tar.bz2
Makefile: install the droplist periodic scriptHEADv1.1main
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 299981d..1f6ce19 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
DESTDIR?=
PREFIX?= /usr/local
SBIN_SCRIPTS= lf-droplist-update.sh
+PERIODIC= 900.lfdroplist.sh
SBINDIR= ${DESTDIR}${PREFIX}/sbin
+PERIODICDIR= ${DESTDIR}${PREFIX}/etc/periodic/daily
all: .PHONY
@@ -11,3 +13,7 @@ install: ${SBIN_SCRIPTS} .PHONY
.for s in ${SBIN_SCRIPTS}
install -C -m 0755 ${s} ${SBINDIR}/${s:.sh=}
.endfor
+ install -d ${PERIODICDIR}
+.for s in ${PERIODIC}
+ install -C -m 0755 ${s} ${PERIODICDIR}/${s:.sh=}
+.endfor