10
|
1 prefix=/usr
|
|
2
|
|
3 install: bing4desktop.py
|
13
|
4 mkdir -pm 0755 $(prefix)/bin
|
|
5 mkdir -pm 0755 $(prefix)/share/bing4desktop
|
28
|
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
|
28
|
11 install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
|
10
|
12 .PHONY: install
|
11
|
13
|
|
14 uninstall:
|
|
15 rm $(prefix)/bin/bing4desktop.py
|
|
16 rm $(prefix)/share/bing4desktop/bing.ico
|
13
|
17 rm $(prefix)/share/bing4desktop/bing.png
|
|
18 rm $(prefix)/share/applications/bing4desktop.desktop
|
28
|
19 rm /etc/xdg/autostart/bing4desktop.desktop
|
25
|
20 rmdir $(prefix)/share/bing4desktop/
|
11
|
21 .PHONY: uninstall
|