-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
27 lines (23 loc) · 804 Bytes
/
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
DESTDIR=
SUBDIR=/usr/lib/rhythmbox/plugins/radio-browser/
DATADIR=/usr/share/rhythmbox/plugins/radio-browser/
LOCALEDIR=/usr/share/locale/
SCHEMADIR=/usr/share/glib-2.0/schemas/
all:
clean:
- rm *.pyc
install:
install -d $(DESTDIR)$(SUBDIR)
install -d $(DESTDIR)$(DATADIR)
install -d $(DESTDIR)$(SCHEMADIR)
install -m 644 schema/org.gnome.rhythmbox.plugins.radio-browser.gschema.xml $(DESTDIR)$(SCHEMADIR)
install -m 644 *.py $(DESTDIR)$(SUBDIR)
install -m 644 *.png $(DESTDIR)$(DATADIR)
install -m 644 *.ui $(DESTDIR)$(DATADIR)
install -m 644 radio-browser.plugin $(DESTDIR)$(SUBDIR)
uninstall:
rm $(DESTDIR)$(SCHEMADIR)org.gnome.rhythmbox.plugins.radio-browser.gschema.xml
rm -r $(DESTDIR)$(SUBDIR)
rm -r $(DESTDIR)$(DATADIR)
compilescheme:
glib-compile-schemas $(DESTDIR)$(SCHEMADIR)