summaryrefslogtreecommitdiffstats
path: root/polkit/policy/Makefile
blob: 1de72221cab2454ba87301237911597a78182a2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
POLKITPOLICYDEST = $(DESTDIR)/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