10
|
1 prefix=/usr
|
|
2
|
|
3 install: bing4desktop.py
|
|
4 mkdir -pm 0755 $(DESTDIR)$(prefix)/bin
|
|
5 mkdir -pm 0755 $(DESTDIR)$(prefix)/share/bing4desktop
|
|
6 mkdir -pm 0755 $(DESTDIR)/etc/xdg/autostart
|
|
7 install -m 0755 bing4desktop.py $(DESTDIR)$(prefix)/bin
|
|
8 install -m 0644 bing.ico $(DESTDIR)$(prefix)/share/bing4desktop
|
11
|
9 install -m 0644 bing4desktop.desktop $(DESTDIR)/etc/xdg/autostart
|
10
|
10 .PHONY: install
|
11
|
11
|
|
12 uninstall:
|
|
13 rm $(prefix)/bin/bing4desktop.py
|
|
14 rm $(prefix)/share/bing4desktop/bing.ico
|
|
15 rm /etc/xdg/autostart/bing4desktop.desktop
|
|
16 rmdir $(prefix)/share/bing4desktop/
|
|
17 .PHONY: uninstall
|