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

rpmdrake_dir = $(DATADIR)/rpmdrake

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

all: $(DESKTOP)

clean:
	rm -f $(DESKTOP)

install: all
	install -d $(rpmdrake_dir)/desktop
	install -m644 $(DESKTOP) $(rpmdrake_dir)/desktop


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