Autotools vs SCons configure/build system
As of revision 322, SCons builds VDrift completely, the install target puts it where it needs to go, and the settings, logs and replays are stored in the home directory. The vdrift binary now runs from /usr/games/ quite well reading its static data from /usr/share/games/vdrift/ and its settings from ~/.vdrift/. It figures out the home directory at runtime from environment variables (using getenv()).A few remaining things to do for the SCons branch:* Include scons-local package in the source package SCons creates so people don't have to have scons installed to compile from source release* Set VDrift up to check for the settings directory ~/.vdrift/, and if it doesn't exist, to create it and copy the default contents there.
|