3 # The purpose of this script is to step in if no version of the "redo" build
4 # system is installed on your system to interpret the files that (Makefile-like)
5 # build the PlomRogue system: ./all.do, ./roguelike-client.do and
6 # ./roguelike-server.do.
8 # If a version of "redo" is installed on your system and in your $PATH, just run
9 # "redo roguelike-client", "redo roguelike-server" or plain "redo" (to build
10 # both via all.do). Otherwise, run this very script with the very same
11 # arguments. It uses parts of a basic "redo" implementation written by Nils
12 # Dagsson Moskopp a.k.a. erlehmann, snapshots of which are stored in
13 # build/redo_scripts/. For details on this version, see:
14 # - <http://news.dieweltistgarnichtso.net/bin/redo.html>
15 # - <http://news.dieweltistgarnichtso.net/bin/redo-ifchange.html>
17 # This "redo" implementation may experience trouble on OS X systems, see
18 # <https://github.com/plomlompom/plomrogue/issues/2#issuecomment-50972436> for a
21 if [ ! -e ./libplomrogue.so ]
23 echo "non-redo stuff (preparing for future Python port sans redo needs):"
24 echo "Building library for server's Python variant with mere shell one-liner."
28 export PATH=$PATH:$PWD/build/redo_scripts