annotate bing4desktop/Makefile @ 27:8aeafb8ad1e1

bing4desktop-0.240208-0.3
author prymula
date Thu, 08 Feb 2024 12:55:06 +0100
parents 4797b096efab
children c5f6a572bc91
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
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 23
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
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 23
diff changeset
11 #install -m 0644 bing4desktop.desktop /etc/xdg/autostart/
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 23
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
25
4797b096efab bing4desktop-0.240208-0.1
prymula <prymula76@outlook.com>
parents: 24
diff changeset
20 #rm /etc/xdg/autostart/bing4desktop.desktop
4797b096efab bing4desktop-0.240208-0.1
prymula <prymula76@outlook.com>
parents: 24
diff changeset
21 rmdir $(prefix)/share/bing4desktop/
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 23
diff changeset
22 $(shell ./copy_desktop.sh)
11
c01d7edb9cb9 bing4desktop-0.240206-0
prymula <prymula76@outlook.com>
parents: 10
diff changeset
23 .PHONY: uninstall