annotate postagelabels/Makefile @ 29:61c9889ed899

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