summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/policy/Makefile
diff options
context:
space:
mode:
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