annotate bing4desktop/Makefile @ 15:18816a0c1fc2

bing4desktop-0.240206-4
author prymula <prymula76@outlook.com>
date Tue, 06 Feb 2024 19:40:55 +0100
parents 73fd89b46da4
children 3b8fd6a7f2d0
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
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
2 MYDIR=/home
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
3
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
4 install: bing4desktop.py
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
5 mkdir -pm 0755 $(prefix)/bin
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
6 mkdir -pm 0755 $(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
7 #mkdir -pm 0755 /etc/xdg/autostart
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
8 install -m 0755 bing4desktop.py $(prefix)/bin
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
9 install -m 0644 bing.ico $(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
10 install -m 0644 bing.png $(prefix)/share/bing4desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
11 install -m 0644 bing4desktop.desktop $(prefix)/share/applications
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
12 $(shell ./copy_desktop.sh)
10
ed9556d0c5d7 bing4desktop-0.240205-4
prymula <prymula76@outlook.com>
parents:
diff changeset
13 .PHONY: install
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
14
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
15 uninstall:
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
16 rm $(prefix)/bin/bing4desktop.py
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
17 rm $(prefix)/share/bing4desktop/bing.ico
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
18 rm $(prefix)/share/bing4desktop/bing.png
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
19 rm $(prefix)/share/applications/bing4desktop.desktop
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
20 #rm /etc/xdg/autostart/bing4desktop.desktop
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
21 rmdir $(prefix)/share/bing4desktop/
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents: 11
diff changeset
22 $(shell ./copy_desktop.sh)
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
23 .PHONY: uninstall