diff options
Diffstat (limited to 'polkit/policy')
-rw-r--r-- | polkit/policy/Makefile | 16 | ||||
-rw-r--r-- | polkit/policy/org.mageia.rpmdrake-addmedia.policy.in (renamed from polkit/policy/org.mageia.rpmdrake-addmedia.policy) | 4 | ||||
-rw-r--r-- | polkit/policy/org.mageia.rpmdrake-editmedia.policy.in (renamed from polkit/policy/org.mageia.rpmdrake-editmedia.policy) | 4 | ||||
-rw-r--r-- | polkit/policy/org.mageia.rpmdrake-update.policy.in (renamed from polkit/policy/org.mageia.rpmdrake-update.policy) | 4 | ||||
-rw-r--r-- | polkit/policy/org.mageia.rpmdrake.policy.in (renamed from polkit/policy/org.mageia.rpmdrake.policy) | 4 |
5 files changed, 24 insertions, 8 deletions
diff --git a/polkit/policy/Makefile b/polkit/policy/Makefile new file mode 100644 index 00000000..1de72221 --- /dev/null +++ b/polkit/policy/Makefile @@ -0,0 +1,16 @@ +POLKITPOLICYDEST = $(DESTDIR)/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 diff --git a/polkit/policy/org.mageia.rpmdrake-addmedia.policy b/polkit/policy/org.mageia.rpmdrake-addmedia.policy.in index 4f4435f5..d4a58362 100644 --- a/polkit/policy/org.mageia.rpmdrake-addmedia.policy +++ b/polkit/policy/org.mageia.rpmdrake-addmedia.policy.in @@ -8,8 +8,8 @@ <vendor_url>http://www.mageia.org/</vendor_url> <action id="org.mageia.rpmdrake-addmedia.pkexec.run"> - <description>Run Mageia Package Media Adder</description> - <message>Authentication is required to run Mageia Package Media Adder</message> + <_description>Run Mageia Package Media Adder</_description> + <_message>Authentication is required to run Mageia Package Media Adder</_message> <icon_name>rpmdrake</icon_name> <defaults> <allow_any>no</allow_any> diff --git a/polkit/policy/org.mageia.rpmdrake-editmedia.policy b/polkit/policy/org.mageia.rpmdrake-editmedia.policy.in index d5a56cd4..d250ca73 100644 --- a/polkit/policy/org.mageia.rpmdrake-editmedia.policy +++ b/polkit/policy/org.mageia.rpmdrake-editmedia.policy.in @@ -8,8 +8,8 @@ <vendor_url>http://www.mageia.org/</vendor_url> <action id="org.mageia.rpmdrake-editmedia.pkexec.run"> - <description>Run Mageia Package Media Editor</description> - <message>Authentication is required to run Mageia Package Media Editor</message> + <_description>Run Mageia Package Media Editor</_description> + <_message>Authentication is required to run Mageia Package Media Editor</_message> <icon_name>rpmdrake</icon_name> <defaults> <allow_any>no</allow_any> diff --git a/polkit/policy/org.mageia.rpmdrake-update.policy b/polkit/policy/org.mageia.rpmdrake-update.policy.in index c9437bfb..ac7bf615 100644 --- a/polkit/policy/org.mageia.rpmdrake-update.policy +++ b/polkit/policy/org.mageia.rpmdrake-update.policy.in @@ -8,8 +8,8 @@ <vendor_url>http://www.mageia.org/</vendor_url> <action id="org.mageia.rpmdrake-update.pkexec.run"> - <description>Run Mageia Updater</description> - <message>Authentication is required to run Mageia Updater</message> + <_description>Run Mageia Updater</_description> + <_message>Authentication is required to run Mageia Updater</_message> <icon_name>rpmdrake</icon_name> <defaults> <allow_any>no</allow_any> diff --git a/polkit/policy/org.mageia.rpmdrake.policy b/polkit/policy/org.mageia.rpmdrake.policy.in index 5b7b3ee8..bdc43360 100644 --- a/polkit/policy/org.mageia.rpmdrake.policy +++ b/polkit/policy/org.mageia.rpmdrake.policy.in @@ -8,8 +8,8 @@ <vendor_url>http://www.mageia.org/</vendor_url> <action id="org.mageia.rpmdrake.pkexec.run"> - <description>Run Mageia Package Manager</description> - <message>Authentication is required to run Mageia Package Manager</message> + <_description>Run Mageia Package Manager</_description> + <_message>Authentication is required to run Mageia Package Manager</_message> <icon_name>rpmdrake</icon_name> <defaults> <allow_any>no</allow_any> |