summaryrefslogtreecommitdiff
path: root/policy/Makefile.am
blob: 0e1f8b94d4660833df6d96fa6232944176f9e25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 *~

-include $(top_srcdir)/git.mk