projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Install different D-Bus configuration if PolicyKit is enabled
[connman]
/
src
/
Makefile.am
diff --git
a/src/Makefile.am
b/src/Makefile.am
index
a1cfcc2
..
a540bf1
100644
(file)
--- a/
src/Makefile.am
+++ b/
src/Makefile.am
@@
-24,7
+24,7
@@
connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=connman.ver
connmand_DEPENDENCIES = connman.ver
connmand_DEPENDENCIES = connman.ver
-CLEANFILES = connman.ver connman.exp 92-connman.rules
+CLEANFILES = connman.ver connman.exp connman.conf 92-connman.rules
statedir = $(localstatedir)/run/connman
statedir = $(localstatedir)/run/connman
@@
-42,7
+42,7
@@
AM_CFLAGS = @UDEV_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \
-DPLUGINDIR=\""$(plugindir)"\"
INCLUDES = -I$(top_builddir)/include
-DPLUGINDIR=\""$(plugindir)"\"
INCLUDES = -I$(top_builddir)/include
-EXTRA_DIST = $(dbus_DATA) connman.rules
+EXTRA_DIST = connman-dbus.conf connman-polkit.conf connman.rules
MAINTAINERCLEANFILES = Makefile.in
MAINTAINERCLEANFILES = Makefile.in
@@
-54,5
+54,12
@@
connman.ver: connman.exp
cat $< | sed -e "s/\(.*\)/\1;/" >> $@
echo "local: *; };" >> $@
cat $< | sed -e "s/\(.*\)/\1;/" >> $@
echo "local: *; };" >> $@
+connman.conf: connman-dbus.conf connman-polkit.conf
+if POLKIT
+ cp $(top_srcdir)/src/connman-polkit.conf $@
+else
+ cp $(top_srcdir)/src/connman-dbus.conf $@
+endif
+
92-connman.rules: connman.rules
cp $< $@
92-connman.rules: connman.rules
cp $< $@