blob: 3a00d405ecb4a710809502b2c1377f90ff5b5887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
DESTDIR:=/usr/local
all:
make -C ./src
clean:
make -C ./src clean
run:
./tuxanci-ng.sh
srun:
./publicserver.sh
package:
./deb-build.sh
tarball:
./tarball-build.sh
tarballbin:
./tarballbin-build.sh
kill:
kill -9 `pidof publicserver`
stat:
cat /proc/`pidof publicserver`/status
tuxstat:
cat /proc/`pidof tuxanci-ng`/status
core:
gcore `pidof publicserver`
svn:
svn ci
svnr:
svn co http://opensvn.csie.org/tuxanci_ng/
server:
make -C ./src -f Makefile-server
nosound:
make -C ./src -f Makefile-nosound
mod:
make -C ./modules -f Makefile modTeleport
make -C ./modules -f Makefile modPipe
make -C ./modules -f Makefile modWall
make -C ./modules -f Makefile modAI
servermod:
make -C ./modules -f Makefile-publicserver modTeleport
make -C ./modules -f Makefile-publicserver modPipe
make -C ./modules -f Makefile-publicserver modWall
install:
mkdir -p $(DESTDIR)/bin
mkdir -p $(DESTDIR)/share/tuxanci-ng/{arena,data,font,image,lang,music,sound,conf,modules}
cp ./src/tuxanci-ng $(DESTDIR)/bin/
cp -rf ./arena/* $(DESTDIR)/share/tuxanci-ng/arena/
cp -rf ./font/* $(DESTDIR)/share/tuxanci-ng/font/
cp -rf ./image/* $(DESTDIR)/share/tuxanci-ng/image/
cp -rf ./lang/* $(DESTDIR)/share/tuxanci-ng/lang/
cp -rf ./music/* $(DESTDIR)/share/tuxanci-ng/music/
cp -rf ./sound/* $(DESTDIR)/share/tuxanci-ng/sound/
cp -rf ./data/* $(DESTDIR)/share/tuxanci-ng/data/
cp -rf ./conf/* $(DESTDIR)/share/tuxanci-ng/conf/
cp -rf ./modules/*.so $(DESTDIR)/share/tuxanci-ng/modules/
uninstall:
rm -rf $(DESTDIR)/{bin,share}/tuxanci-ng
|