From 0e4d73a7ded23e8b5a76d58bd5b448dd9e884ef9 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 29 Sep 2013 19:23:42 +0100 Subject: 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 agnostic prompt to the user. In this case the current package policy (in rpm spec) has been migrated here and is as follows: draknetcenter requires authentication as the current user. Everything else require authentication as an administrator. --- po/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile index e1da0f6..2eab54f 100644 --- a/po/Makefile +++ b/po/Makefile @@ -29,8 +29,14 @@ clean: %.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 -- cgit v1.2.1