diff postagelabels/Makefile @ 4:15fcbb8857c3

postagelabels-0.220120-0_PKG
author prymula <prymula76@outlook.com>
date Thu, 01 Feb 2024 18:27:49 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/postagelabels/Makefile	Thu Feb 01 18:27:49 2024 +0100
@@ -0,0 +1,22 @@
+
+prefix=/usr
+
+install:
+	mkdir -pm 0755 $(prefix)/share/postagelabels
+	install -m 0755 postagelabels.py $(prefix)/bin
+	install -m 0644 png/postagelabels.png $(prefix)/share/postagelabels
+	install -m 0644 png/blank_small.png $(prefix)/share/postagelabels
+	install -m 0644 png/szablon.png $(prefix)/share/postagelabels
+	install -m 0644 postagelabels.desktop /usr/share/applications
+
+.PHONY: install
+
+uninstall:
+	rm $(prefix)/share/postagelabels/postagelabels.png
+	rm $(prefix)/share/postagelabels/blank_small.png
+	rm $(prefix)/share/postagelabels/szablon.png
+	rmdir $(prefix)/share/postagelabels/
+	rm $(prefix)/bin/postagelabels.py
+	rm /usr/share/applications/postagelabels.desktop
+	
+.PHONY: uninstall