summaryrefslogtreecommitdiffstats
path: root/data/Makefile
blob: 338af4c6ad9041899c042b0dbff6bd5da472e747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SYSCONFDIR = $(PREFIX)/etc

DESKTOP_IN := $(wildcard *.desktop.in)
DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop)

all: $(DESKTOP)

clean:
	rm -f $(DESKTOP)

install: all
	mkdir -p $(SYSCONFDIR)/xdg/autostart
	install autostart-draksnapshot.desktop $(SYSCONFDIR)/xdg/autostart/


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