diff options
author | Przemyslaw <prymula76@outlook.com> | 2024-04-02 16:54:04 +0200 |
---|---|---|
committer | Przemyslaw <prymula76@outlook.com> | 2024-04-02 16:54:04 +0200 |
commit | 6be61aef6ad0ffb370deb4df5ad48487b56e3678 (patch) | |
tree | e117d8199d4de50de11d7baa50753c5385abc071 /Makefile |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
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 |