From aedd0c862f2aad19a54a40a576554bcd4952f012 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 1 Jun 2025 17:06:57 +0200 Subject: Makefile: Support overriding install cmd. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 43d81cd..076e38d 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +INSTALL_DIR = install -o root -g root -m 0755 -d +INSTALL_FILE = install -o root -g root -m 0644 + all: arctica-keys itzks-keys x2go-keys debmultimedia-keys geogebra-keys grandorgue-keys promethean-keys the-rest arctica-keys: output/keyrings/arctica-keyring.gpg @@ -66,8 +69,8 @@ output/changelog: debian/changelog install: - install -o root -g root -m 0755 -d $(DESTDIR)/usr/share/keyrings - install -o root -g root -m 0644 output/keyrings/*.gpg $(DESTDIR)/usr/share/keyrings/ + $(INSTALL_DIR) $(DESTDIR)/usr/share/keyrings + $(INSTALL_FILE) output/keyrings/*.gpg $(DESTDIR)/usr/share/keyrings/ test: ./runtests -- cgit v1.2.3