blob: d2987f022fae9001c2c295c9ca8b5471ed1cb200 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PREFIX = /usr/local
DATADIR = $(PREFIX)/share
BINDIR = $(PREFIX)/bin
rpmdrake_dir = $(DATADIR)/rpmdrake
DIRECTORY_IN := $(wildcard *.directory.in)
DIRECTORY = $(DIRECTORY_IN:.directory.in=.directory)
DESKTOP_IN := $(wildcard *.desktop.in)
DESKTOP = $(DESKTOP_IN:.desktop.in=.desktop)
all: $(DIRECTORY) $(DESKTOP)
clean:
rm -f $(DIRECTORY) $(DESKTOP)
install: all
install -d $(rpmdrake_dir)/desktop
install -m644 $(DESKTOP) $(DIRECTORY) $(rpmdrake_dir)/desktop
%.desktop: %.desktop.in
../po/intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
%.directory: %.directory.in
../po/intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
|