tazcraft view Makefile @ rev 6

Tiny edits
author Paul Issott <paul@slitaz.org>
date Sun Mar 19 23:22:35 2017 +0000 (2017-03-19)
parents eff405d08432
children
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 -d $(DESTDIR)$(PREFIX)/share/doc/slitaz
17 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
18 install data/minecraft.desktop $(DESTDIR)$(PREFIX)/share/applications
19 install web/minecraft.png $(DESTDIR)$(PREFIX)/share/pixmaps
20 install README $(DESTDIR)$(PREFIX)/share/doc/slitaz/tazcraft.txt
22 install-server:
23 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
24 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/doc/slitaz
25 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
26 install README $(DESTDIR)$(PREFIX)/share/doc/slitaz/tazcraft.txt
28 # Uninstallation
30 uninstall:
31 rm -f $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)