tazcraft view Makefile @ rev 1

Add Makefile data/ and images
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 19 17:42:34 2017 +0100 (2017-03-19)
parents
children 6eac67be306d
line source
1 # Makefile for Tazcraft
2 #
4 PACKAGE=tazcraft
5 PREFIX?=/usr
6 DESTDIR?=
8 all:
10 # Installation (full or server only)
12 install:
13 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
14 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/applications
15 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/pixmaps
16 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
17 install data/minecraft.desktop $(DESTDIR)$(PREFIX)/share/applications
18 install images/minecraft.png $(DESTDIR)$(PREFIX)/share/pixmaps
20 install-server:
21 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
22 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
24 # Uninstallation
26 uninstall:
27 rm -f $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)