slitaz-dev-tools annotate 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
rev   line source
pankso@178 1 # Makefile for Qemu-box.
pankso@178 2 #
pankso@178 3
pankso@178 4 PREFIX?=/usr
pankso@178 5 DESTDIR?=
pankso@178 6
pankso@178 7 all:
pankso@178 8
pankso@178 9 install:
pankso@178 10 mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)/usr/share/applications
pankso@178 11 install -m 0755 qemu-box $(DESTDIR)$(PREFIX)/bin
pankso@178 12 install -m 0644 qemu-box.desktop $(DESTDIR)/usr/share/applications
pankso@178 13
pankso@178 14 uninstall:
pankso@178 15 rm -rf \
pankso@178 16 $(DESTDIR)$(PREFIX)/bin/qemu-box \
pankso@178 17 $(DESTDIR)/usr/share/applications/qemu-box.desktop