summaryrefslogtreecommitdiff
path: root/pre-inst-env.in
Commit message (Collapse)AuthorAgeFilesLines
* config: Fix data directory.David Thompson2015-11-121-2/+2
| | | | | | | | | | | | | | | | | | This was all messed up: - 'pkgdatadir' wasn't something that could be substituted via autoconf - I was still using "GUILE_2D" in the data dir env var name Now it's all better and Sly data should be able to be found from the pre-installation environment *and* the installation prefix. * configure.ac (sly_prefix, sly_datadir): New variables. * pre-inst-env.in: Set SLY_DATADIR. * sly/config.scm.in (%pkgdatadir): Delete. (%datadir): New variable. Use SLY_DATADIR env var or the configured datadir. * sly/render/font.scm (load-default-font): Use %datadir. * sly/render/shader.scm (load-default-shader): Likewise.
* Rename guile-2d to Sly!David Thompson2014-06-281-5/+5
| | | | Massive find/replace job.
* Add pre-inst-env script.David Thompson2014-05-211-0/+33
* configure.ac: Add pre-inst-env as config file. * pre-inst-env.in: New file. * 2d/config.scm.in (%pkgdatadir): Use GUILE_2D_PKGDATADIR environment variable, if defined. * README.org: Document pre-inst-env script. * .gitignore: Ignore pre-inst-env.