blob: d477e9b42cb0634aa1398dab12557c736b894c05 (
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
|
mcc_dir = $(DESTDIR)/usr/share/mcc
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 $(mcc_dir)/desktop
install -m644 $(DESKTOP) $(DIRECTORY) $(mcc_dir)/desktop
install -d $(DESTDIR)/etc/gnome-vfs-2.0/vfolders
install -m644 system-settings.vfolder-info $(DESTDIR)/etc/gnome-vfs-2.0/vfolders
%.desktop: %.desktop.in
./intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
%.directory: %.directory.in
./intltool-merge --utf8 ../po $< $@ -d -u -c ../po/.intltool-merge-cache
|