tazcraft view Makefile @ rev 7
Add link to village finder
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 22 19:29:51 2017 +0100 (2017-03-22) |
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)