summaryrefslogtreecommitdiff
path: root/policy/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'policy/Makefile.am')
-rw-r--r--policy/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am
new file mode 100644
index 0000000..1e239ba
--- /dev/null
+++ b/policy/Makefile.am
@@ -0,0 +1,17 @@
+polkit_policydir = $(datadir)/polkit-1/actions
+polkit_policy_DATA = \
+ org.mate.power.policy
+
+# You will need a recent intltool or the patch from this bug
+# http://bugzilla.mate.org/show_bug.cgi?id=462312
+@INTLTOOL_POLICY_RULE@
+
+.in2.in:
+ sed "s|[@]sbindir@|${sbindir}|" $< > $@
+
+EXTRA_DIST = org.mate.power.policy.in2
+DISTCLEANFILES = org.mate.power.policy org.mate.power.policy.in
+
+clean-local :
+ rm -f *~
+