blob: 289d220bdba609a4b58d4b8be605598ec03d9b9f (
plain)
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
|
polkit_policydir = $(datadir)/polkit-1/actions
dist_polkit_policy_in_files = \
org.freedesktop.NetworkManager.policy.in
dist_polkit_policy_DATA = $(dist_polkit_policy_in_files:.policy.in=.policy)
@INTLTOOL_POLICY_RULE@
# polkit >= 0.92 doesn't have an updated polkit-policy-file-validate
#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 *~
EXTRA_DIST = $(dist_polkit_policy_in_files)
|