tazcraft annotate 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
rev   line source
pankso@1 1 # Makefile for Tazcraft
pankso@1 2 #
pankso@1 3
pankso@1 4 PACKAGE=tazcraft
pankso@1 5 PREFIX?=/usr
pankso@1 6 DESTDIR?=
pankso@1 7
pankso@1 8 all:
pankso@1 9
pankso@1 10 # Installation (full or server only)
pankso@1 11
pankso@1 12 install:
pankso@1 13 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
pankso@1 14 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/applications
pankso@1 15 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/pixmaps
pankso@5 16 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/doc/slitaz
pankso@1 17 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
pankso@1 18 install data/minecraft.desktop $(DESTDIR)$(PREFIX)/share/applications
pankso@5 19 install web/minecraft.png $(DESTDIR)$(PREFIX)/share/pixmaps
pankso@5 20 install README $(DESTDIR)$(PREFIX)/share/doc/slitaz/tazcraft.txt
pankso@1 21
pankso@1 22 install-server:
pankso@1 23 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
pankso@5 24 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/doc/slitaz
pankso@1 25 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
pankso@5 26 install README $(DESTDIR)$(PREFIX)/share/doc/slitaz/tazcraft.txt
pankso@1 27
pankso@1 28 # Uninstallation
pankso@1 29
pankso@1 30 uninstall:
pankso@1 31 rm -f $(DESTDIR)$(PREFIX)/bin/$(PACKAGE)
pankso@1 32