diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-16 19:22:06 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-16 19:22:06 +0000 |
| commit | 51aae47ae08ad61507f219c24ed6d9321c866f45 (patch) | |
| tree | ab111374d581adb66d718c39275d39a7fd4bc30a /Makefile | |
| parent | 13d754c917ebcf1be913bd35f4c0e44468edeb52 (diff) | |
- upravy, hlavne siete
git-svn-id: http://opensvn.csie.org/tuxanci_ng@23 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 30 |
1 files changed, 26 insertions, 4 deletions
@@ -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 |