summaryrefslogtreecommitdiff
path: root/system-helper/Makefile.am.inc
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-04-25 18:58:36 +0200
committerAlexander Larsson <alexl@redhat.com>2016-04-25 18:59:17 +0200
commitdc60f027162decffff0d51014c654d3c9b9fac0c (patch)
tree3084ec45bda3721b3705b5938bd57d6ffe02519c /system-helper/Makefile.am.inc
parentb2b05e1175c881e867294444864b95db3cd2bc0c (diff)
downloadxdg-app-dc60f027162decffff0d51014c654d3c9b9fac0c.tar.gz
system-helper: Add PolicyKit authentication for system helper
Diffstat (limited to 'system-helper/Makefile.am.inc')
-rw-r--r--system-helper/Makefile.am.inc18
1 files changed, 16 insertions, 2 deletions
diff --git a/system-helper/Makefile.am.inc b/system-helper/Makefile.am.inc
index b14822a..60a377a 100644
--- a/system-helper/Makefile.am.inc
+++ b/system-helper/Makefile.am.inc
@@ -28,7 +28,21 @@ xdg_app_system_helper_SOURCES = \
system-helper/xdg-app-system-helper.c \
system-helper/xdg-app-resources.h \
system-helper/xdg-app-resources.c \
+ lib/xdg-app-error.c \
$(NULL)
-xdg_app_system_helper_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) libxdgapp-common.la
-xdg_app_system_helper_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS)
+xdg_app_system_helper_LDADD = $(BASE_LIBS) $(OSTREE_LIBS) $(POLKIT_LIBS) libxdgapp-common.la
+xdg_app_system_helper_CFLAGS = $(BASE_CFLAGS) $(OSTREE_CFLAGS) $(POLKIT_CFLAGS)
+
+polkit_rulesdir = $(datadir)/polkit-1/rules.d
+dist_polkit_rules_DATA = \
+ system-helper/org.freedesktop.XdgApp.rules
+
+polkit_policydir = $(datadir)/polkit-1/actions
+dist_polkit_policy_DATA = \
+ system-helper/org.freedesktop.XdgApp.policy
+
+@INTLTOOL_POLICY_RULE@
+
+EXTRA_DIST += system-helper/org.freedesktop.XdgApp.policy.in
+DISTCLEANFILES += system-helper/org.freedesktop.XdgApp.policy