annotate bing4desktop/Makefile.debian @ 33:1d063d3bf7ff

bing4desktop-0.240208-2.1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 20:41:03 +0100
parents 61c9889ed899
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
1 prefix=/usr
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
2
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
3 install: bing4desktop.py
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
4 mkdir -pm 0755 $(prefix)/bin
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
5 mkdir -pm 0755 $(prefix)/share/bing4desktop
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
6 mkdir -pm 0755 /etc/xdg/autostart
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
7 install -m 0755 bing4desktop.py $(prefix)/bin
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
8 install -m 0644 bing.ico $(prefix)/share/bing4desktop
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
9 install -m 0644 bing.png $(prefix)/share/bing4desktop
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
10 install -m 0644 bing4desktop.desktop $(prefix)/share/applications
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
11 install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
12 .PHONY: install
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
13
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
14 uninstall:
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
15 rm $(prefix)/bin/bing4desktop.py
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
16 rm $(prefix)/share/bing4desktop/bing.ico
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
17 rm $(prefix)/share/bing4desktop/bing.png
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
18 rm $(prefix)/share/applications/bing4desktop.desktop
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
19 rm /etc/xdg/autostart/bing4desktop.desktop
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
20 rmdir $(prefix)/share/bing4desktop/
61c9889ed899 bing4desktop-0.240208-1
prymula <prymula76@outlook.com>
parents:
diff changeset
21 .PHONY: uninstall