From 6be61aef6ad0ffb370deb4df5ad48487b56e3678 Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Tue, 2 Apr 2024 16:54:04 +0200 Subject: Init --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3f36b99 --- /dev/null +++ b/Makefile @@ -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 -- cgit v1.2.3