10
|
1 prefix=/usr
|
13
|
2 MYDIR=/home
|
10
|
3
|
|
4 install: bing4desktop.py
|
13
|
5 mkdir -pm 0755 $(prefix)/bin
|
|
6 mkdir -pm 0755 $(prefix)/share/bing4desktop
|
|
7 #mkdir -pm 0755 /etc/xdg/autostart
|
|
8 install -m 0755 bing4desktop.py $(prefix)/bin
|
|
9 install -m 0644 bing.ico $(prefix)/share/bing4desktop
|
|
10 install -m 0644 bing.png $(prefix)/share/bing4desktop
|
|
11 install -m 0644 bing4desktop.desktop $(prefix)/share/applications
|
|
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
|
|
20 #rm /etc/xdg/autostart/bing4desktop.desktop
|
11
|
21 rmdir $(prefix)/share/bing4desktop/
|
13
|
22 $(shell ./copy_desktop.sh)
|
11
|
23 .PHONY: uninstall
|