-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
52 lines (48 loc) · 2.17 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
48
49
50
51
52
DESTDIR=
SUBDIR=/usr/lib/rhythmbox/plugins/coverart_browser/
DATADIR=/usr/share/rhythmbox/plugins/coverart_browser/
LOCALEDIR=/usr/share/locale/
GLIB_SCHEME=org.gnome.rhythmbox.plugins.coverart_browser.gschema.xml
GLIB_DIR=/usr/share/glib-2.0/schemas/
all:
clean:
- rm *.pyc
install:
install -d $(DESTDIR)$(SUBDIR)
install -m 644 *.py $(DESTDIR)$(SUBDIR)
install -m 644 LICENSE.txt $(DESTDIR)$(SUBDIR)
install -d $(DESTDIR)$(DATADIR)img
install -m 644 img/*.png $(DESTDIR)$(DATADIR)img/
install -m 644 img/*.svg $(DESTDIR)$(DATADIR)img/
install -m 644 img/*.xml $(DESTDIR)$(DATADIR)img/
install -d $(DESTDIR)$(DATADIR)img/darker
install -m 644 img/darker/*.png $(DESTDIR)$(DATADIR)img/darker
install -d $(DESTDIR)$(DATADIR)img/dark
install -m 644 img/dark/*.png $(DESTDIR)$(DATADIR)img/dark
install -d $(DESTDIR)$(DATADIR)img/light
install -m 644 img/light/*.png $(DESTDIR)$(DATADIR)img/light
install -d $(DESTDIR)$(DATADIR)img/lighter
install -m 644 img/lighter/*.png $(DESTDIR)$(DATADIR)img/lighter
install -d $(DESTDIR)$(DATADIR)img/standard
install -m 644 img/standard/*.png $(DESTDIR)$(DATADIR)img/standard
install -d $(DESTDIR)$(DATADIR)img/links
install -m 644 img/links/*.png $(DESTDIR)$(DATADIR)img/links
install -d $(DESTDIR)$(DATADIR)template
install -m 644 template/*.xml $(DESTDIR)$(DATADIR)template
install -d $(DESTDIR)$(DATADIR)ui
install -m 644 ui/*.ui $(DESTDIR)$(DATADIR)ui/
install -m 644 ui/*.xml $(DESTDIR)$(DATADIR)ui/
install -m 644 ui/*.css $(DESTDIR)$(DATADIR)ui/
install -d $(DESTDIR)$(DATADIR)coverflow
install -d $(DESTDIR)$(DATADIR)coverflow/img
install -m 644 coverflow/*.css $(DESTDIR)$(DATADIR)coverflow/
install -m 644 coverflow/*.js $(DESTDIR)$(DATADIR)coverflow/
install -m 644 coverflow/*.html $(DESTDIR)$(DATADIR)coverflow/
install -m 644 coverflow/LICENSE $(DESTDIR)$(DATADIR)coverflow/
install -m 644 coverflow/img/* $(DESTDIR)$(DATADIR)coverflow/img/
install -m 644 coverart_browser.plugin* $(DESTDIR)$(SUBDIR)
install -d $(DESTDIR)$(DATADIR)tmpl
install -m 644 tmpl/* $(DESTDIR)$(DATADIR)tmpl/
install -d $(DESTDIR)$(GLIB_DIR)
install -m 644 schema/$(GLIB_SCHEME) $(DESTDIR)$(GLIB_DIR)
cd po;./install_all.sh $(DESTDIR)$(LOCALEDIR)