summaryrefslogtreecommitdiff
path: root/policy/Makefile.am
blob: 1f3343f126173dfa813a6b972418231f52a474a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
polkit_policydir = $(datadir)/polkit-1/actions
polkit_policy_in_files = org.mate.power.policy.in
polkit_policy_DATA = $(polkit_policy_in_files:.policy.in=.policy)

$(polkit_policy_DATA): $(polkit_policy_in_files)
	$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@

.in2.in:
	sed "s|[@]sbindir@|${sbindir}|" $< > $@

EXTRA_DIST = org.mate.power.policy.in2
DISTCLEANFILES = $(polkit_policy_DATA) $(polkit_policy_in_files)

clean-local :
	rm -f *~