summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/policy/Makefile
blob: 09ce275646d1d55f877d8d4536b38f382edf775b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
POLKITPOLICYDEST = $(PREFIX)/usr/share/polkit-1/actions

POLICY_IN := $(wildcard *.policy.in)
POLICY = $(POLICY_IN:.policy.in=.policy)

all: $(POLICY)

clean:
	rm -f $(POLICY)

install: all
	install -d $(POLKITPOLICYDEST)
	install -m644 $(POLICY) $(POLKITPOLICYDEST)

%.policy:   %.policy.in
	intltool-merge --utf8 ../../po $< $@ -x -u -c ../../po/.intltool-merge-cache