hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Tue Apr 29 09:03:36 PDT 2008
policy/Makefile.am | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
New commits:
commit 33bbe51a92031f7af4739e47d538f398db1cf2fe
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Tue Apr 29 18:03:30 2008 +0200
fixed make distcheck for validating polkit policy files
Fixed make distcheck for validating polkit policy files.
diff --git a/policy/Makefile.am b/policy/Makefile.am
index 98e447d..28f31d4 100644
--- a/policy/Makefile.am
+++ b/policy/Makefile.am
@@ -15,8 +15,18 @@ dist_polkit_policy_DATA += org.freedesktop.hal.device-access.policy
endif
check:
- $(POLKIT_POLICY_FILE_VALIDATE) $(dist_polkit_policy_DATA)
-
+ 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;
endif
clean-local :
More information about the hal-commit
mailing list