13
|
1 prefix=/usr
|
|
2 #MYDIR=/home
|
|
3
|
|
4 install: bing4desktop.py
|
|
5 mkdir -pm 0755 $(DESTDIR)$(prefix)/bin
|
|
6 mkdir -pm 0755 $(DESTDIR)$(prefix)/share/bing4desktop
|
|
7 mkdir -pm 0755 $(DESTDIR)/etc/xdg/autostart
|
|
8 install -m 0755 bing4desktop.py $(DESTDIR)$(prefix)/bin
|
|
9 install -m 0644 bing.ico $(DESTDIR)$(prefix)/share/bing4desktop
|
|
10 install -m 0644 bing.png $(prefix)/share/bing4desktop
|
|
11 install -m 0644 bing4desktops.desktop $(DESTDIR)$(prefix)/share/applications
|
|
12 install -m 0644 bing4desktops.desktop $(DESTDIR)/etc/xdg/autostart
|
|
13 #$(shell ./copy_desktop.sh)
|
|
14 .PHONY: install
|
|
15
|
|
16 uninstall:
|
|
17 rm $(prefix)/bin/bing4desktop.py
|
|
18 rm $(prefix)/share/bing4desktop/bing.ico
|
|
19 rm $(prefix)/share/bing4desktop/bing.png
|
|
20 rm $(prefix)/share/applications/bing4desktops.desktop
|
|
21 rm /etc/xdg/autostart/bing4desktop.desktop
|
|
22 rmdir $(prefix)/share/bing4desktop/
|
|
23 #$(shell ./copy_desktop.sh)
|
|
24 .PHONY: uninstall
|