AlexAUT / Kroniax_Cpp

The official source of the game Kroniax
MIT License
19 stars 4 forks source link

Scripts for packaging Linux release #4

Closed abodelot closed 11 years ago

abodelot commented 11 years ago

Added a script for generating a release tarball for Linux systems, ready to be redistributed. The package generated is a stand alone and should run on systems where SFML is not installed.

The tarball will contain:

The launcher adds the SFML .so files to the LD_LIBRARY_PATH and then invokes the executable.

Usage:

$ ./tools/linux-release.sh 
Enter version number: 0.5.2
Packaging kroniax_0.5.2-linux.tar.gz...
Done!

Currently the script looks for SFML .so files only in /usr/local/lib, so this point could be improved.