Skip to content

Commit

Permalink
Install to blueman-rfcomm-watcher to libexecdir instead of bindir
Browse files Browse the repository at this point in the history
  • Loading branch information
cschramm committed Mar 5, 2015
1 parent 7f6ac6c commit 473ab54
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ install-sh
.deps
Constants.py
/blueman/main/applet/BluezAgent.py
/blueman/plugins/mechanism/Rfcomm.py
_blueman.c
po/Makefile.in.in
po/.intltool-merge-cache
Expand Down
6 changes: 4 additions & 2 deletions apps/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ APPS = \
blueman-adapters \
blueman-applet \
blueman-manager \
blueman-rfcomm-watcher \
blueman-services \
blueman-sendto \
blueman-assistant \
Expand All @@ -15,5 +14,8 @@ apps_SCRIPTS = $(APPS)
polkitdir = $(libexecdir)
polkit_SCRIPTS = \
blueman-mechanism

helpersdir = $(libexecdir)
helpers_SCRIPTS = blueman-rfcomm-watcher

EXTRA_DIST = $(APPS) blueman-mechanism
EXTRA_DIST = $(APPS) blueman-mechanism blueman-rfcomm-watcher
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Rfcomm(MechanismPlugin):

@dbus.service.method('org.blueman.Mechanism', in_signature="d")
def open_rfcomm(self, port_id):
subprocess.Popen(['blueman-rfcomm-watcher', '/dev/rfcomm%d' % port_id])
subprocess.Popen(['@LIBEXECDIR@/blueman-rfcomm-watcher', '/dev/rfcomm%d' % port_id])

@dbus.service.method('org.blueman.Mechanism', in_signature="d")
def close_rfcomm(self, port_id):
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ blueman/plugins/Makefile
blueman/plugins/services/Makefile
blueman/plugins/applet/Makefile
blueman/plugins/mechanism/Makefile
blueman/plugins/mechanism/Rfcomm.py
blueman/plugins/manager/Makefile
blueman/plugins/config/Makefile
blueman/main/Makefile
Expand Down

0 comments on commit 473ab54

Please sign in to comment.