~ubuntu-branches/debian/squeeze/hal/squeeze

« back to all changes in this revision

Viewing changes to policy/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-05-15 17:15:26 UTC
  • Revision ID: james.westby@ubuntu.com-20080515171526-wj087paax2bmuxwr
Tags: upstream-0.5.11
ImportĀ upstreamĀ versionĀ 0.5.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
endif
16
16
 
17
17
check:
18
 
        $(POLKIT_POLICY_FILE_VALIDATE) $(dist_polkit_policy_DATA)
19
 
 
 
18
        for f in $(dist_polkit_policy_DATA); do \
 
19
            echo -n "Validate PolicyKit policy in $$f : "; \
 
20
            $(POLKIT_POLICY_FILE_VALIDATE) $(srcdir)/$$f ; \
 
21
            ret=$$?; \
 
22
            if  [ "$$ret" == "0" ]; \
 
23
              then \
 
24
                echo ok; \
 
25
            else \
 
26
                echo failed; \ 
 
27
                exit 1; \
 
28
            fi; \
 
29
        done;
20
30
endif
21
31
 
22
32
clean-local :