-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (37 loc) · 1.32 KB
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
DESTDIR = /usr/local/share/themes
DIRS = ./MyTheme/ \
./MyTheme/gtk-2.0 \
./MyTheme/metacity-1 \
FILES = ./MyTheme/gtk-2.0/panel_bg_30.png \
./MyTheme/gtk-2.0/gtkrc \
./MyTheme/gtk-2.0/panel_bg.png \
./MyTheme/index.theme \
./MyTheme/metacity-1/minimize_unfocused.png \
./MyTheme/metacity-1/metacity-theme-1.xml \
./MyTheme/metacity-1/trough_middle.png \
./MyTheme/metacity-1/close.png \
./MyTheme/metacity-1/unmaximize.png \
./MyTheme/metacity-1/minimize_unfocused_over.png \
./MyTheme/metacity-1/maximize_unfocused_over.png \
./MyTheme/metacity-1/maximize.png \
./MyTheme/metacity-1/close_unfocused.png \
./MyTheme/metacity-1/minimize.png \
./MyTheme/metacity-1/trough_right.png \
./MyTheme/metacity-1/menu_prelight.png \
./MyTheme/metacity-1/close_unfocused_over.png \
./MyTheme/metacity-1/maximize_unfocused.png \
./MyTheme/metacity-1/trough_left.png \
./MyTheme/metacity-1/unmaximize_unfocused_over.png \
./MyTheme/metacity-1/menu.png \
./MyTheme/metacity-1/unmaximize_unfocused.png
SCRIPTS = ./MyTheme/metacity-1/gconf-settings.sh
activate_theme:
install -m 755 $@ $(DESTDIR)/$@
$(DIRS):
mkdir -p $(DESTDIR)/$@
$(FILES): $(DIRS)
install -m 644 $@ $(DESTDIR)/$@
$(SCRIPTS): $(DIRS)
install $@ $(DESTDIR)/$@
install: $(FILES) $(SCRIPTS) activate_theme
.PHONY: install $(DIRS) $(FILES) $(SCRIPTS) activate_theme