Blame SOURCES/0001-Use-PREFIX-during-make-install.patch

622d0f
From 57944dd96c2c14cac66ec29e99500357c189f8e7 Mon Sep 17 00:00:00 2001
622d0f
From: Peter Jones <pjones@redhat.com>
622d0f
Date: Fri, 13 Sep 2013 10:37:10 -0400
622d0f
Subject: [PATCH] Use $(PREFIX) during make install.
622d0f
622d0f
Signed-off-by: Peter Jones <pjones@redhat.com>
622d0f
---
622d0f
 Makefile | 6 +++---
622d0f
 1 file changed, 3 insertions(+), 3 deletions(-)
622d0f
622d0f
diff --git a/Makefile b/Makefile
622d0f
index 5dbf0f7..ad83c33 100644
622d0f
--- a/Makefile
622d0f
+++ b/Makefile
622d0f
@@ -44,12 +44,12 @@ test: all
622d0f
 install: all
622d0f
-	mkdir -p $(DESTDIR)/sbin
622d0f
+	mkdir -p $(DESTDIR)$(PREFIX)/sbin
622d0f
 	mkdir -p $(DESTDIR)/$(mandir)/man8
622d0f
-	install -m 755 new-kernel-pkg $(DESTDIR)/sbin
622d0f
+	install -m 755 new-kernel-pkg $(DESTDIR)$(PREFIX)/sbin
622d0f
 	install -m 644 new-kernel-pkg.8 $(DESTDIR)/$(mandir)/man8
622d0f
-	install -m 755 installkernel $(DESTDIR)/sbin
622d0f
+	install -m 755 installkernel $(DESTDIR)$(PREFIX)/sbin
622d0f
 	install -m 644 installkernel.8 $(DESTDIR)/$(mandir)/man8
622d0f
 	if [ -f grubby ]; then \
622d0f
-		install -m 755 grubby $(DESTDIR)/sbin ; \
622d0f
+		install -m 755 grubby $(DESTDIR)$(PREFIX)/sbin ; \
622d0f
 		install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \
622d0f
 	fi
622d0f
 
622d0f
-- 
622d0f
1.8.3.1
622d0f