summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-20 15:24:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-20 15:34:12 +0000
commit4f0d3ec7aa4ebc91793245ed66c0e24d7150782b (patch)
treeb7adaac6b153273d2534fc53293ec645169ad591
parent40474a99d28d1dc89a5f0eadfea1796678488e87 (diff)
downloadca-certificates-4f0d3ec7aa4ebc91793245ed66c0e24d7150782b.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--sbin/Makefile5
1 files changed, 4 insertions, 1 deletions
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)/