gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH] use DESTDIR with udev install


From: Mike Frysinger
Subject: [gpsd-dev] [PATCH] use DESTDIR with udev install
Date: Thu, 17 Nov 2011 23:57:57 -0500

Signed-off-by: Mike Frysinger <address@hidden>
---
 SConstruct |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/SConstruct b/SConstruct
index 1f99740..b7a98e4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1505,9 +1505,10 @@ if env['python']:
 # is plugged in.
 
 Utility('udev-install', '', [
-    'cp $SRCDIR/gpsd.rules /lib/udev/rules.d/25-gpsd.rules',
-    'cp $SRCDIR/gpsd.hotplug /lib/udev/',
-    'chmod a+x /lib/udev/gpsd.hotplug',
+    'mkdir -p ' + DESTDIR + '/lib/udev/rules.d',
+    'cp $SRCDIR/gpsd.rules ' + DESTDIR + '/lib/udev/rules.d/25-gpsd.rules',
+    'cp $SRCDIR/gpsd.hotplug ' + DESTDIR + '/lib/udev/',
+    'chmod a+x ' + DESTDIR + '/lib/udev/gpsd.hotplug',
         ])
 
 Utility('udev-uninstall', '', [
-- 
1.7.6.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]