summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-07 11:40:13 +0100
committerColin Guthrie <colin@mageia.org>2013-10-07 11:55:32 +0100
commitec7c0926cc98fa3adb0d70bd82404b52b46d0da4 (patch)
treebeae3ac8856d0878182edc088a3343d9b9969ecc /po
parent8e3b15321bc251e0aadad652f5b3896333b3b2fa (diff)
downloaddrak3d-ec7c0926cc98fa3adb0d70bd82404b52b46d0da4.tar
drak3d-ec7c0926cc98fa3adb0d70bd82404b52b46d0da4.tar.gz
drak3d-ec7c0926cc98fa3adb0d70bd82404b52b46d0da4.tar.bz2
drak3d-ec7c0926cc98fa3adb0d70bd82404b52b46d0da4.tar.xz
drak3d-ec7c0926cc98fa3adb0d70bd82404b52b46d0da4.zip
Convert to polkit from usermode consolehelper for gaining root privileges
polkit is better integrated into various environments, both console and GUI and offers better access rules and prevents the internal need to run su which is prone to errors and doesn't offer an environment integrated prompt to the user. In this case the current package policy (in rpm spec) has been migrated here and is as follows: drak3d requires authentication as the current user. mga#11125
Diffstat (limited to 'po')
-rw-r--r--po/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/po/Makefile b/po/Makefile
index 8b2e62b..efcf69b 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -20,13 +20,19 @@ install: all
done
clean:
- rm -f *~ *.[oas] *.mo $(POTFILE) $(MOFILES) TAGS
+ rm -f *~ *.[oas] *.mo $(POTFILE) POTFILES.in $(MOFILES) TAGS
%.mo: %.po
msgfmt -o $@ $<
-$(POTFILE): $(PL_FILES)
- perl_checker -q --generate-pot $@ $(PL_FILES)
+$(POTFILE): $(PL_FILES) POTFILES.in
+ intltool-update --gettext-package non-perl --pot
+ perl_checker -q --generate-pot .$@ $(PL_FILES)
+ msgcat -w 2048 --use-first .$@ non-perl.pot > $@
+ rm -f non-perl.pot ..$@ .$@
+
+POTFILES.in:
+ (cd .. ; /bin/ls -1 polkit/policy/*.policy.in; ) > POTFILES.in
update_n_merge: $(POTFILE) merge