diff options
author | Colin Guthrie <colin@mageia.org> | 2013-11-21 21:12:37 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-11-21 21:24:53 +0000 |
commit | 3b641cb27c28bdf42865ee15f7ccd2b6c9e9d3d1 (patch) | |
tree | efa80eca1b88a28fdb4e52deee5717e934a6f983 /perl-install/standalone/polkit/Makefile | |
parent | 7828203e308e62a47eac337a193d0fa1680b97d9 (diff) | |
download | drakx-3b641cb27c28bdf42865ee15f7ccd2b6c9e9d3d1.tar drakx-3b641cb27c28bdf42865ee15f7ccd2b6c9e9d3d1.tar.gz drakx-3b641cb27c28bdf42865ee15f7ccd2b6c9e9d3d1.tar.bz2 drakx-3b641cb27c28bdf42865ee15f7ccd2b6c9e9d3d1.tar.xz drakx-3b641cb27c28bdf42865ee15f7ccd2b6c9e9d3d1.zip |
polkit: Add support to draksec for writing polkit policy override rules.
This allows draksec to override things properly under polkit.
Diffstat (limited to 'perl-install/standalone/polkit/Makefile')
-rw-r--r-- | perl-install/standalone/polkit/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/polkit/Makefile b/perl-install/standalone/polkit/Makefile index 070f4211e..6cd42c013 100644 --- a/perl-install/standalone/polkit/Makefile +++ b/perl-install/standalone/polkit/Makefile @@ -1,8 +1,10 @@ BINDIR = /usr/bin LIBEXECDIR = /usr/libexec BINDEST = $(PREFIX)$(BINDIR) +POLKITRULESDEST = $(PREFIX)/usr/share/polkit-1/rules.d POLKITPOLICYDEST = $(PREFIX)/usr/share/polkit-1/actions +RULES := $(wildcard *.rules) POLICY_IN := $(wildcard *.policy.in) POLICY = $(POLICY_IN:.policy.in=.policy) WRAPPERS = $(patsubst org.mageia.%.policy,%,$(POLICY)) @@ -19,6 +21,7 @@ clean: intltool-merge --utf8 ../po $< $@ -x -u -c ../po/.intltool-merge-cache install: all - install -d $(BINDEST) $(POLKITPOLICYDEST) + install -d $(BINDEST) $(POLKITRULESDEST) $(POLKITPOLICYDEST) install -m755 $(WRAPPERS) $(BINDEST) install -m644 $(POLICY) $(POLKITPOLICYDEST) + install -m644 $(RULES) $(POLKITRULESDEST) |