-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
43 lines (31 loc) · 1.2 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
PREFIX?=/usr/local
#PREFIX=/tmp/smplayer
THEMES_PATH=$(DESTDIR)$(PREFIX)/share/smplayer/themes
all:
cd themes && make
install:
-install -d $(THEMES_PATH)
- mkdir $(THEMES_PATH)/Black
install -m 644 themes/Black/Black.rcc $(THEMES_PATH)/Black/
install -m 644 themes/Black/main.css $(THEMES_PATH)/Black/
- mkdir $(THEMES_PATH)/Gonzo
install -m 644 themes/Gonzo/Gonzo.rcc $(THEMES_PATH)/Gonzo/
install -m 644 themes/Gonzo/main.css $(THEMES_PATH)/Gonzo/
- mkdir $(THEMES_PATH)/Mac
install -m 644 themes/Mac/Mac.rcc $(THEMES_PATH)/Mac/
install -m 644 themes/Mac/main.css $(THEMES_PATH)/Mac/
- mkdir $(THEMES_PATH)/Modern
install -m 644 themes/Modern/Modern.rcc $(THEMES_PATH)/Modern/
install -m 644 themes/Modern/main.css $(THEMES_PATH)/Modern/
- mkdir $(THEMES_PATH)/Vista
install -m 644 themes/Vista/Vista.rcc $(THEMES_PATH)/Vista/
install -m 644 themes/Vista/main.css $(THEMES_PATH)/Vista/
- mkdir $(THEMES_PATH)/Mint-Y
install -m 644 themes/Mint-Y/Mint-Y.rcc $(THEMES_PATH)/Mint-Y/
install -m 644 themes/Mint-Y/README.txt $(THEMES_PATH)/Mint-Y/
install -m 644 themes/Mint-Y/main.css $(THEMES_PATH)/Mint-Y/
clean:
cd themes && make clean
uninstall:
# -rm -r $(THEMES_PATH)/*
# -rmdir $(THEMES_PATH)/