From 51aae47ae08ad61507f219c24ed6d9321c866f45 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 16 Mar 2008 19:22:06 +0000 Subject: - upravy, hlavne siete git-svn-id: http://opensvn.csie.org/tuxanci_ng@23 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- Makefile | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 029b7fc..64123f9 100644 --- a/Makefile +++ b/Makefile @@ -4,19 +4,44 @@ DISTDIR:=/usr/ all: make -C ./src DISTDIR=$(DISTDIR) - + clean: make -C ./src DISTDIR=$(DISTDIR) clean + make -C ./src -f Makefile-publicServer clean run: ./tuxanci-ng.sh +srun: + ./publicserver.sh + +package: + ./deb-build.sh + +kill: + kill -9 `pidof publicserver` + +stat: + cat /proc/`pidof publicserver`/status + +tuxstat: + cat /proc/`pidof tuxanci-ng`/status + +line: + cat src/*.c include*.h | wc -l + +core: + gcore `pidof publicserver` + svn: svn ci svnr: svn co http://opensvn.csie.org/tuxanci_ng/ +server: + make -C ./src -f Makefile-publicServer + install: cp ./src/tuxanci-ng $(DISTDIR)bin/ mkdir $(DISTDIR)share/tuxanci-ng @@ -36,9 +61,6 @@ install: cp -rf ./sound/* $(DISTDIR)share/tuxanci-ng/sound cp -rf ./data/* $(DISTDIR)share/tuxanci-ng/data -deb: - ./deb-build.sh - uninstall: rm -rf $(DISTDIR)bin/tuxanci-ng rm -rf $(DISTDIR)share/tuxanci-ng -- cgit v1.2.3