From 4f0d3ec7aa4ebc91793245ed66c0e24d7150782b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 20 Feb 2021 15:24:03 +0000 Subject: sbin/Makefile: Allow the sbin path to be configurable Some project sharing ca-certificates from Debian allow configuration of the installation location. Make the sbin location configurable. Also ensure the target directory exists Signed-off-by: Richard Purdie --- sbin/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sbin/Makefile b/sbin/Makefile index a9658e7..1976cc3 100644 --- a/sbin/Makefile +++ b/sbin/Makefile @@ -3,9 +3,12 @@ # # +SBINDIR = /usr/sbin + all: clean: install: - install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/ + install -d $(DESTDIR)$(SBINDIR) + install -m755 update-ca-certificates $(DESTDIR)$(SBINDIR)/ -- cgit v1.2.1