diff options
author | SARL ENR-68 <david@david.david> | 2013-12-28 10:43:02 +0100 |
---|---|---|
committer | SARL ENR-68 <david@david.david> | 2013-12-28 10:43:02 +0100 |
commit | efa4ab6a791804db20492634decf3a53c74951c4 (patch) | |
tree | 461f6da1d7147e1ec26463e1b8f2cecea087321e /polkit | |
parent | be6b23055a09cd35547350cda4d1bfcb13129478 (diff) | |
download | isodumper-efa4ab6a791804db20492634decf3a53c74951c4.tar isodumper-efa4ab6a791804db20492634decf3a53c74951c4.tar.gz isodumper-efa4ab6a791804db20492634decf3a53c74951c4.tar.bz2 isodumper-efa4ab6a791804db20492634decf3a53c74951c4.tar.xz isodumper-efa4ab6a791804db20492634decf3a53c74951c4.zip |
Updated Makefile files (polkit) and spec file
-Really use translations for polkit file
-drop "local" macro PREFIX on Makefile
-drop "PREFIX="%{_prefix}" macro on spec file
-use polkit binary generated with Makefile
-drop bin folder (use binary generated with Makefile)
Diffstat (limited to 'polkit')
-rw-r--r-- | polkit/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/polkit/Makefile b/polkit/Makefile index 975400d..f8833cb 100644 --- a/polkit/Makefile +++ b/polkit/Makefile @@ -28,7 +28,22 @@ clean: rm -f $(WRAPPERS) $(POLICY) %: org.mageia.%.policy.in - @echo -e '#!/bin/sh\nif [[ "$$UID" != "0" ]] ; then\n exec $(BINDIR)/pkexec $(LIBEXECDIR)/$@ "$$''@"\nelse\n exec $(LIBEXECDIR)/$@ "$$''@"\nfi\n' > $@ + @echo -e \ + '#!/bin/sh\n'\ + '#\n'\ + '\n'\ + '# Copyright (C) 2013 THE isodumper`S COPYRIGHT HOLDER\n'\ + '# This file is distributed under the same license as the isodumper package.\n'\ + '\n'\ + '# Author isodumper software= papoteur <papoteur@mageialinux-online.org>\n'\ + '# Author binary polkit file= Geiger David <david.david@mageialinux-online.org>\n'\ + '\n'\ + 'if [[ "$$UID" != "0" ]] ; then\n'\ + ' exec $(BINDIR)/pkexec $(LIBEXECDIR)/$@ "$$''@"\n'\ + 'else\n'\ + ' exec $(LIBEXECDIR)/$@ "$$''@"\n'\ + 'fi\n'\ + > $@ %.policy: %.policy.in intltool-merge --utf8 ../po $< $@ -x -u -c ../po/.intltool-merge-cache |