summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/policy/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-09-29 17:52:35 +0100
committerColin Guthrie <colin@mageia.org>2013-09-29 18:04:28 +0100
commitaadf8003fcc1cb4139e52a1d6df69e77d117375f (patch)
treeaf79d1e699ff4327629c397d63dd8d8540125e2b /perl-install/standalone/polkit/policy/Makefile
parentcf9d69a113fd0c59dd8fffb387d1a756452bb105 (diff)
downloaddrakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar.gz
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar.bz2
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.tar.xz
drakx-aadf8003fcc1cb4139e52a1d6df69e77d117375f.zip
polkit: Allow polkit policy messages to be translated
Diffstat (limited to 'perl-install/standalone/polkit/policy/Makefile')
-rw-r--r--perl-install/standalone/polkit/policy/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/perl-install/standalone/polkit/policy/Makefile b/perl-install/standalone/polkit/policy/Makefile
new file mode 100644
index 000000000..09ce27564
--- /dev/null
+++ b/perl-install/standalone/polkit/policy/Makefile
@@ -0,0 +1,16 @@
+POLKITPOLICYDEST = $(PREFIX)/usr/share/polkit-1/actions
+
+POLICY_IN := $(wildcard *.policy.in)
+POLICY = $(POLICY_IN:.policy.in=.policy)
+
+all: $(POLICY)
+
+clean:
+ rm -f $(POLICY)
+
+install: all
+ install -d $(POLKITPOLICYDEST)
+ install -m644 $(POLICY) $(POLKITPOLICYDEST)
+
+%.policy: %.policy.in
+ intltool-merge --utf8 ../../po $< $@ -x -u -c ../../po/.intltool-merge-cache