summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSimon Howard2015-08-23 16:08:58 -0400
committerMike Swanson2015-08-24 14:37:33 -0700
commit69faefcab4f8ac6599f47173b9a0eba80aaa10a6 (patch)
tree94b3fe0040cff87605484af7fa16340b843c33e2 /autogen.sh
parent87db726b9a9ae61caf2ff167450625ce8f4076c3 (diff)
downloadchocolate-doom-69faefcab4f8ac6599f47173b9a0eba80aaa10a6.tar.gz
chocolate-doom-69faefcab4f8ac6599f47173b9a0eba80aaa10a6.tar.bz2
chocolate-doom-69faefcab4f8ac6599f47173b9a0eba80aaa10a6.zip
Make IWAD search paths compliant with XDG spec.
The XDG Base Directory Specification defines standard directories that are searched for data files via the XDG_DATA_HOME and XDG_DATA_DIRS environment variables: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html To make Chocolate Doom a good citizen, use these directories to determine some of the locations in which to look for IWAD files. This includes /usr/share/games/doom, which is absorbed under the default value of the XDG_DATA_DIRS variable. We also now support the alternative ~/.local/share/games/doom as a user-writeable path in the user's home directory that doesn't require root privileges. This is part of #597 (thanks to @chungy for the suggestion).
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions