diff photocrop/Makefile @ 0:dcd610585610

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:32:14 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/photocrop/Makefile	Thu Sep 21 22:32:14 2023 +0200
@@ -0,0 +1,21 @@
+
+prefix=/usr
+
+all:
+
+install:
+	mkdir -pm 0755 $(prefix)/share/photocrop
+	install -m 0755 src/photocrop.py $(prefix)/bin
+	install -m 0644 data/clip.png $(prefix)/share/photocrop
+	install -m 0644 data/IMG_6854.JPG $(prefix)/share/photocrop
+	install -m 0644 data/photocrop.desktop $(prefix)/share/applications
+
+
+uninstall:
+	rm $(prefix)/share/photocrop/clip.png
+	rm $(prefix)/share/photocrop/IMG_6854.JPG
+	rmdir $(prefix)/share/photocrop/
+	rm $(prefix)/bin/photocrop.py
+	rm $(prefix)/share/applications/photocrop.desktop
+	
+.PHONY: all install uninstall