То время, когда я хотел форкнуть Инстед, часть II. Также см. "steed-preface"
This repository has been archived on 2019-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Alexander Yakovlev b4125fcbb6 Some style and visual improvements.
Still need to make labels and table refs.
2009-11-10 07:04:03 +00:00
debian fix in configure 2009-11-09 11:02:40 +00:00
desktop config.make fix 2009-11-08 14:33:23 +00:00
doc Some style and visual improvements. 2009-11-10 07:04:03 +00:00
games config.make fix 2009-11-08 14:33:23 +00:00
icon config.make fix 2009-11-08 14:33:23 +00:00
languages config.make fix 2009-11-08 14:33:23 +00:00
src cleanup 2009-11-09 17:13:49 +00:00
stead config.make fix 2009-11-08 14:33:23 +00:00
themes first theme now 800x600 2009-11-09 08:57:55 +00:00
configure.bat 0.8.5 version 2009-08-26 05:25:53 +00:00
configure.sh cleanup in configure 2009-11-09 17:49:38 +00:00
Makefile Makefile fix 2009-11-09 10:56:20 +00:00
Makefile.windows win file 2009-11-08 14:53:18 +00:00
readme.txt translations to configure and readme 2009-11-09 11:50:58 +00:00
Rules.make.standalone Fixes to makefiles 2009-11-09 08:43:41 +00:00
Rules.make.system Fixes to makefiles 2009-11-09 08:43:41 +00:00
Rules.windows fixes in makefiles 2009-11-09 09:08:04 +00:00
sdl-instead first commit 2009-02-21 10:52:44 +00:00
setup.iss fixes in makefiles 2009-11-09 09:08:04 +00:00

WARNING! For successfull building you must install these development packages (names may vary in your distribution):

	sdl, sdl-mixer, sdl-image, sdl-ttf, lua5.1

0) Prepare for building

Unpack source package with this command:
	$ tar xzvf instead_<version>.tar.gz

Change current dir to project's build dir:
	$ cd instead-<version>

There are several ways to build package.

1) On Debian based systems you can build deb package:
	$ sudo apt-get install liblua5.1-dev libreadline-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libreadline5-dev
	$ apt-get install build-essential
	$ debuild
	$ cd ..
	$ sudo dpkg -i instead_<version>.deb		

2) On gentooo or arch linux please copy-paste PKGBUILD or EBUILD from here:
	http://code.google.com/p/instead/wiki/
	And, I think, you have enough skills to build package yourself. ;)

3) For other distributions you have a two choices:
	1) try run ./configure.sh and follow instructions
or
	2) do all things manually

4) Manual build

To build game, that runs just from build dir use Rules.make.standalone.

	$ rm -f Rules.make
	$ ln -s Rules.make.standalone Rules.make
	$ make clean
	$ make

If build process has failed check Rules.make.standalone and make changes if needed.

	$ ./sdl-instead
	Enjoy. 

To build game for system install.

	$ rm -f Rules.make
	$ ln -s Rules.make.system Rules.make
	$ make clean
	$ make

If build process has failed check Rules.make.system and make changes if needed.

	$ sudo make install

	$ sdl-instead
	Enjoy.