summaryrefslogtreecommitdiffstats
path: root/patches/daemonize-1.4
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2009-12-31 09:33:46 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-04 10:36:48 +0100
commit0f476acf6d874152be055bfa1f10088f49d332ea (patch)
treeeac07d549f63cff488499e2b31f5a17e4108bf3f /patches/daemonize-1.4
parent46ba042205a322adb0ff6cea448c62453c272875 (diff)
downloadptxdist-0f476acf6d874152be055bfa1f10088f49d332ea.tar.gz
ptxdist-0f476acf6d874152be055bfa1f10088f49d332ea.tar.xz
[daemonize] cleanup makefile
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/daemonize-1.4')
-rw-r--r--patches/daemonize-1.4/fix-destdir-install.diff22
-rw-r--r--patches/daemonize-1.4/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/patches/daemonize-1.4/fix-destdir-install.diff b/patches/daemonize-1.4/fix-destdir-install.diff
new file mode 100644
index 000000000..6f6d61bbd
--- /dev/null
+++ b/patches/daemonize-1.4/fix-destdir-install.diff
@@ -0,0 +1,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@
diff --git a/patches/daemonize-1.4/series b/patches/daemonize-1.4/series
new file mode 100644
index 000000000..2be639247
--- /dev/null
+++ b/patches/daemonize-1.4/series
@@ -0,0 +1 @@
+fix-destdir-install.diff