summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--plugins/Makefile.am7
-rw-r--r--plugins/polkit.policy (renamed from plugins/connman.policy)0
3 files changed, 7 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 76255d3c..11710f8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,6 +30,7 @@ src/connman.ver
src/connman.conf
src/connman.service
src/*-connman.rules
+plugins/connman.policy
scripts/connman
scripts/udhcpc-script
scripts/dhclient-script
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index de4b58bc..fc0d2521 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -122,6 +122,11 @@ AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@
INCLUDES = -I$(top_builddir)/include
-EXTRA_DIST = connman.policy
+EXTRA_DIST = polkit.policy
+
+CLEANFILES = polkit.policy
MAINTAINERCLEANFILES = Makefile.in
+
+connman.policy: polkit.policy
+ cp $< $@
diff --git a/plugins/connman.policy b/plugins/polkit.policy
index bc36a6dd..bc36a6dd 100644
--- a/plugins/connman.policy
+++ b/plugins/polkit.policy