diff options
author | Tambet Ingo <tambet@gmail.com> | 2008-05-09 09:22:53 +0000 |
---|---|---|
committer | Tambet Ingo <tambet@gmail.com> | 2008-05-09 09:22:53 +0000 |
commit | 0a230b98c1b910e95332a79c034a0868daa136f6 (patch) | |
tree | fd0f31508343b38c81cb53206a78835ef4cb3506 /policy | |
parent | d2cf6fa75ccd58a304b058d1f64c5fbdb57c9c2a (diff) | |
download | NetworkManager-0a230b98c1b910e95332a79c034a0868daa136f6.tar.gz |
2008-05-08 Tambet Ingo <tambet@gmail.com>
* Add the missing policy/Makefile.am
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3647 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'policy')
-rw-r--r-- | policy/Makefile.am | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/policy/Makefile.am b/policy/Makefile.am new file mode 100644 index 0000000000..c10a7d9963 --- /dev/null +++ b/policy/Makefile.am @@ -0,0 +1,42 @@ +polkit_policydir = $(datadir)/PolicyKit/policy + +dist_polkit_policy_DATA = \ + org.freedesktop.network-manager-settings.system.policy + +check: + for f in $(dist_polkit_policy_DATA); do \ + echo -n "Validate PolicyKit policy in $$f : "; \ + $(POLKIT_POLICY_FILE_VALIDATE) $(srcdir)/$$f ; \ + ret=$$?; \ + if [ "$$ret" == "0" ]; \ + then \ + echo ok; \ + else \ + echo failed; \ + exit 1; \ + fi; \ + done; + +clean-local : + rm -f *~ +polkit_policydir = $(datadir)/PolicyKit/policy + +dist_polkit_policy_DATA = \ + org.freedesktop.network-manager-settings.system.policy + +check: + for f in $(dist_polkit_policy_DATA); do \ + echo -n "Validate PolicyKit policy in $$f : "; \ + $(POLKIT_POLICY_FILE_VALIDATE) $(srcdir)/$$f ; \ + ret=$$?; \ + if [ "$$ret" == "0" ]; \ + then \ + echo ok; \ + else \ + echo failed; \ + exit 1; \ + fi; \ + done; + +clean-local : + rm -f *~ |