annotate postagelabels/makefile @ 0:dcd610585610

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:32:14 +0200
parents
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