comparison bing4desktop/Makefile @ 28:c5f6a572bc91

bing4desktop-0.240208-0.4
author prymula
date Thu, 08 Feb 2024 12:56:34 +0100
parents 4797b096efab
children 61c9889ed899
comparison
equal deleted inserted replaced
27:8aeafb8ad1e1 28:c5f6a572bc91
1 prefix=/usr 1 prefix=/usr
2 2
3 install: bing4desktop.py 3 install: bing4desktop.py
4 mkdir -pm 0755 $(prefix)/bin 4 mkdir -pm 0755 $(prefix)/bin
5 mkdir -pm 0755 $(prefix)/share/bing4desktop 5 mkdir -pm 0755 $(prefix)/share/bing4desktop
6 #mkdir -pm 0755 /etc/xdg/autostart 6 mkdir -pm 0755 /etc/xdg/autostart
7 install -m 0755 bing4desktop.py $(prefix)/bin 7 install -m 0755 bing4desktop.py $(prefix)/bin
8 install -m 0644 bing.ico $(prefix)/share/bing4desktop 8 install -m 0644 bing.ico $(prefix)/share/bing4desktop
9 install -m 0644 bing.png $(prefix)/share/bing4desktop 9 install -m 0644 bing.png $(prefix)/share/bing4desktop
10 install -m 0644 bing4desktop.desktop $(prefix)/share/applications 10 install -m 0644 bing4desktop.desktop $(prefix)/share/applications
11 #install -m 0644 bing4desktop.desktop /etc/xdg/autostart/ 11 install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
12 $(shell ./copy_desktop.sh)
13 .PHONY: install 12 .PHONY: install
14 13
15 uninstall: 14 uninstall:
16 rm $(prefix)/bin/bing4desktop.py 15 rm $(prefix)/bin/bing4desktop.py
17 rm $(prefix)/share/bing4desktop/bing.ico 16 rm $(prefix)/share/bing4desktop/bing.ico
18 rm $(prefix)/share/bing4desktop/bing.png 17 rm $(prefix)/share/bing4desktop/bing.png
19 rm $(prefix)/share/applications/bing4desktop.desktop 18 rm $(prefix)/share/applications/bing4desktop.desktop
20 #rm /etc/xdg/autostart/bing4desktop.desktop 19 rm /etc/xdg/autostart/bing4desktop.desktop
21 rmdir $(prefix)/share/bing4desktop/ 20 rmdir $(prefix)/share/bing4desktop/
22 $(shell ./copy_desktop.sh)
23 .PHONY: uninstall 21 .PHONY: uninstall