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