slitaz-dev-tools view qemu-box/Makefile @ rev 274

tazdev: cosmetic changes, raise maintainability of the code, fix few typos, fix using `tazpkg --root=` here...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Feb 28 17:16:47 2017 +0200 (2017-02-28)
parents
children
line source
1 # Makefile for Qemu-box.
2 #
4 PREFIX?=/usr
5 DESTDIR?=
7 all:
9 install:
10 mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)/usr/share/applications
11 install -m 0755 qemu-box $(DESTDIR)$(PREFIX)/bin
12 install -m 0644 qemu-box.desktop $(DESTDIR)/usr/share/applications
14 uninstall:
15 rm -rf \
16 $(DESTDIR)$(PREFIX)/bin/qemu-box \
17 $(DESTDIR)/usr/share/applications/qemu-box.desktop