annotate bing4desktop/Makefile @ 23:45b565b7b853

bing4desktop-0.240207-5.1
author prymula <prymula76@outlook.com>
date Wed, 07 Feb 2024 23:52:18 +0100
parents 4773cc53027b
children 02409f02eea6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
1 prefix=/usr
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
2
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
3 install: bing4desktop.py
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
4 mkdir -pm 0755 $(prefix)/bin
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
5 mkdir -pm 0755 $(prefix)/share/bing4desktop
22
4773cc53027b "bing4desktop-0.240207-5"
prymula
parents: 17
diff changeset
6 mkdir -pm 0755 /etc/xdg/autostart
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
7 install -m 0755 bing4desktop.py $(prefix)/bin
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
8 install -m 0644 bing.ico $(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
9 install -m 0644 bing.png $(prefix)/share/bing4desktop
23
45b565b7b853 bing4desktop-0.240207-5.1
prymula <prymula76@outlook.com>
parents: 22
diff changeset
10 install -m 0644 bing4desktop.desktop $(prefix)/share/applications
45b565b7b853 bing4desktop-0.240207-5.1
prymula <prymula76@outlook.com>
parents: 22
diff changeset
11 install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
12 .PHONY: install
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
13
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
14 uninstall:
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
15 rm $(prefix)/bin/bing4desktop.py
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
16 rm $(prefix)/share/bing4desktop/bing.ico
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
17 rm $(prefix)/share/bing4desktop/bing.png
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
18 rm $(prefix)/share/applications/bing4desktop.desktop
22
4773cc53027b "bing4desktop-0.240207-5"
prymula
parents: 17
diff changeset
19 rm /etc/xdg/autostart/bing4desktop.desktop
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
20 rmdir $(prefix)/share/bing4desktop/
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
21 .PHONY: uninstall