summaryrefslogtreecommitdiffstats
path: root/data/Makefile
blob: a3206e93042c292cfa4df97dfd822e82d13dab8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DATADIR = $(PREFIX)/usr/share

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

all: $(DESKTOP)

clean:
	rm -f $(DESKTOP)

install: all
	mkdir -p $(DATADIR)/autostart
	install autostart-draksnapshot.desktop $(DATADIR)/autostart/
	mkdir -p $(DATADIR)/gnome/autostart
	install gnome-autostart-draksnapshot.desktop $(DATADIR)/gnome/autostart/


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