Blame SOURCES/0053-Honor-sbindir.patch

24fce8
From b4d5d14bef6861212f55148bbe6939a41700a54c Mon Sep 17 00:00:00 2001
24fce8
From: Peter Jones <pjones@redhat.com>
24fce8
Date: Wed, 18 Jul 2018 13:41:02 -0400
24fce8
Subject: [PATCH 53/55] Honor sbindir
24fce8
24fce8
Signed-off-by: Peter Jones <pjones@redhat.com>
24fce8
---
24fce8
 Makefile | 8 ++++----
24fce8
 1 file changed, 4 insertions(+), 4 deletions(-)
24fce8
24fce8
diff --git a/Makefile b/Makefile
24fce8
index 65cd28295aa..44fc12f0c1b 100644
24fce8
--- a/Makefile
24fce8
+++ b/Makefile
24fce8
@@ -47,14 +47,14 @@ test: all
24fce8
 	@./test.sh $(VERBOSE_TEST)
24fce8
 
24fce8
 install: all
24fce8
-	mkdir -p $(DESTDIR)$(PREFIX)/sbin
24fce8
+	mkdir -p $(DESTDIR)$(PREFIX)$(sbindir)
24fce8
 	mkdir -p $(DESTDIR)/$(mandir)/man8
24fce8
-	install -m 755 new-kernel-pkg $(DESTDIR)$(PREFIX)/sbin
24fce8
+	install -m 755 new-kernel-pkg $(DESTDIR)$(PREFIX)$(sbindir)
24fce8
 	install -m 644 new-kernel-pkg.8 $(DESTDIR)/$(mandir)/man8
24fce8
-	install -m 755 installkernel $(DESTDIR)$(PREFIX)/sbin
24fce8
+	install -m 755 installkernel $(DESTDIR)$(PREFIX)$(sbindir)
24fce8
 	install -m 644 installkernel.8 $(DESTDIR)/$(mandir)/man8
24fce8
 	if [ -f grubby ]; then \
24fce8
-		install -m 755 grubby $(DESTDIR)$(PREFIX)/sbin ; \
24fce8
+		install -m 755 grubby $(DESTDIR)$(PREFIX)$(sbindir) ; \
24fce8
 		install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \
24fce8
 	fi
24fce8
 
24fce8
-- 
24fce8
2.17.1
24fce8