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