From 071d69dab7efdc7249d9f9a679bdf63da9861ea7 Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 7 Jul 2008 11:40:36 +0000 Subject: - update config.h (tohle to chce faakt zautomatizovat) - uprava tabu v ebuildu (finalni) - uprava README (vysvetleni jabka a PREFIX) - predelano -DDist=1 tak ze by melo fungovat (vyzkousejte a kdyztak zkusime opravit) git-svn-id: http://opensvn.csie.org/tuxanci_ng@116 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- CMakeLists.txt | 1 + README | 8 ++++++++ config.h | 2 +- packaging/gentoo/tuxanci-9999.ebuild | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c599c47..63084e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ PROJECT ( tuxanci ) # verbose nastaveni vypnout pred release IF ( Dist ) SET ( CMAKE_INSTALL_PREFIX ${CMAKE_SOURCE_DIR}/dist ) + SET ( PREFIX \\"../\\" ) # tohle by melo vytvorit binarku s relativni path ENDIF ( Dist ) IF ( Debug ) SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -pipe") diff --git a/README b/README index e5bd942..1b65b3e 100644 --- a/README +++ b/README @@ -75,10 +75,18 @@ HOWTO COMPILE ----- Option -DNO_AUDIO=1 says we want no audio support for client so change if you want so. + Server and client can be both on same computer they use different folders. + Cleaning data from previous compilation "$ make clean". + On Apple use please -DApple=1 variable for cmake. + + If you want another prefix than /usr/local/, you can achieve this by + adding -DPREFIX=\\\"/usr/games/\\\" and + -DCMAKE_INSTALL_PREFIX:PATH=/usr/games. Change /usr/games/ to path you + intend to use. GAME USAGE ========== diff --git a/config.h b/config.h index e3b52ef..393db5e 100644 --- a/config.h +++ b/config.h @@ -1 +1 @@ -#define TUXANCI_NG_VERSION "svn114" +#define TUXANCI_NG_VERSION "svn116" diff --git a/packaging/gentoo/tuxanci-9999.ebuild b/packaging/gentoo/tuxanci-9999.ebuild index 0c4c385..125b72f 100644 --- a/packaging/gentoo/tuxanci-9999.ebuild +++ b/packaging/gentoo/tuxanci-9999.ebuild @@ -16,7 +16,7 @@ IUSE="alsa dedicated" DEPEND="!dedicated? ( >=media-libs/libsdl-1.2.10 - >=media-libs/sdl-ttf-2.0.7 + >=media-libs/sdl-ttf-2.0.7 >=media-libs/sdl-image-1.2.6-r1 alsa? ( >=media-libs/sdl-mixer-1.2.7 -- cgit v1.2.3