summaryrefslogtreecommitdiffstats
path: root/patches/daemonize-1.4/fix-destdir-install.diff
blob: 6f6d61bbd8e9160dc734f741e7b3db7272efc7f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: install to DESTDIR

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>

---
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/Makefile.in
===================================================================
--- a/Makefile.in
+++ b/Makefile.in
@@ -7,7 +7,7 @@ srcdir		= @srcdir@
 VPATH		= @srcdir@
 INSTALL_PREFIX	= @prefix@
 INSTALL		= @INSTALL@
-INSTALL_SBIN	= $(INSTALL_PREFIX)/sbin
+INSTALL_SBIN	= $(DESTDIR)$(INSTALL_PREFIX)/sbin
 MISSING_SOURCES	= @LOCAL_MISSING_SOURCES@
 MISSING_OBJECTS = $(MISSING_SOURCES:.c=.o)
 CC		= @CC@