summaryrefslogtreecommitdiff
path: root/extras/dbus/Makefile
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-04-13 01:21:46 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:15 -0700
commiteab52c24431b4305708a7579a823585555b8f33b (patch)
tree026ee0b559ba1a4bc784aa20b32071dd02478b20 /extras/dbus/Makefile
parente3f83d532e2e7415c003e2759750c96ecb635e81 (diff)
[PATCH] udev_dbus changes
On Sun, Apr 11, 2004 at 03:51:07AM +0200, Kay Sievers wrote: > Here we change extras/dbus/* to > o install the binary in /etc/dev.d > o append .dev to the binary > o add David's copyright > o add the listener script to watch the sent dbus messages > o removed the undefined udev_log variable > o switch printf() to dbg() Here we install the binary in /usr/sbin/ and symlink it to /etc/dev.d/ with the .dev suffix.
Diffstat (limited to 'extras/dbus/Makefile')
-rw-r--r--extras/dbus/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/extras/dbus/Makefile b/extras/dbus/Makefile
index 99aa33d8fb..04f17605e8 100644
--- a/extras/dbus/Makefile
+++ b/extras/dbus/Makefile
@@ -22,8 +22,9 @@ exec_prefix = ${prefix}
etcdir = ${prefix}/etc
sbindir = ${exec_prefix}/sbin
usrbindir = ${exec_prefix}/usr/bin
+usrsbindir = ${exec_prefix}/usr/sbin
mandir = ${prefix}/usr/share/man
-hotplugdir = ${etcdir}/hotplug.d/default
+devddir = ${etcdir}/dev.d/default
dbusdir = ${etcdir}/dbus-1/system.d
configdir = ${etcdir}/udev/
initdir = ${etcdir}/init.d/
@@ -53,9 +54,13 @@ spotless: clean
install-dbus-policy:
$(INSTALL) -d $(DESTDIR)$(dbusdir)
$(INSTALL_DATA) etc/dbus-1/system.d/udev_sysbus_policy.conf $(DESTDIR)$(dbusdir)
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(usrsbindir)/$(PROG)
+ - ln -s -f $(DESTDIR)$(usrsbindir)/$(PROG) $(DESTDIR)$(devddir)/$(PROG).dev
uninstall-dbus-policy:
- rm $(DESTDIR)$(dbusdir)/udev_sysbus_policy.conf
+ - rm $(DESTDIR)$(devddir)/$(PROG).dev
+ - rm $(DESTDIR)$(usrsbindir)/$(PROG)
install: install-dbus-policy all