File: Makefile.am

package info (click to toggle)
hal 0.5.14-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,212 kB
  • ctags: 4,854
  • sloc: ansic: 60,732; xml: 16,387; sh: 11,366; makefile: 1,111; cpp: 292
file content (34 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

if HAVE_POLKIT
polkit_policydir = $(datadir)/PolicyKit/policy

dist_polkit_policy_DATA =    				\
	org.freedesktop.hal.policy			\
	org.freedesktop.hal.storage.policy		\
	org.freedesktop.hal.power-management.policy	\
	org.freedesktop.hal.killswitch.policy		\
	org.freedesktop.hal.dockstation.policy		\
	org.freedesktop.hal.leds.policy			\
	org.freedesktop.hal.wol.policy

if HAVE_ACLMGMT
dist_polkit_policy_DATA += org.freedesktop.hal.device-access.policy
endif

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;
endif

clean-local :
	rm -f *~