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