tazcraft view Makefile @ rev 9
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 17:55:03 2019 +0100 (2019-02-27) |
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)