annotate postagelabels/makefile @ 2:4bdac9bd90cc

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