annotate photocrop/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 all:
prymula <prymula76@outlook.com>
parents:
diff changeset
5
prymula <prymula76@outlook.com>
parents:
diff changeset
6 install:
prymula <prymula76@outlook.com>
parents:
diff changeset
7 mkdir -pm 0755 $(prefix)/share/photocrop
prymula <prymula76@outlook.com>
parents:
diff changeset
8 install -m 0755 src/photocrop.py $(prefix)/bin
prymula <prymula76@outlook.com>
parents:
diff changeset
9 install -m 0644 data/clip.png $(prefix)/share/photocrop
prymula <prymula76@outlook.com>
parents:
diff changeset
10 install -m 0644 data/IMG_6854.JPG $(prefix)/share/photocrop
prymula <prymula76@outlook.com>
parents:
diff changeset
11 install -m 0644 data/photocrop.desktop $(prefix)/share/applications
prymula <prymula76@outlook.com>
parents:
diff changeset
12
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/photocrop/clip.png
prymula <prymula76@outlook.com>
parents:
diff changeset
16 rm $(prefix)/share/photocrop/IMG_6854.JPG
prymula <prymula76@outlook.com>
parents:
diff changeset
17 rmdir $(prefix)/share/photocrop/
prymula <prymula76@outlook.com>
parents:
diff changeset
18 rm $(prefix)/bin/photocrop.py
prymula <prymula76@outlook.com>
parents:
diff changeset
19 rm $(prefix)/share/applications/photocrop.desktop
prymula <prymula76@outlook.com>
parents:
diff changeset
20
prymula <prymula76@outlook.com>
parents:
diff changeset
21 .PHONY: all install uninstall