1 --- SConstruct.old 2017-12-06 12:54:20.524502000 -0800
2 +++ SConstruct 2017-12-12 12:39:21.764384877 -0800
4 env.Append(LINKFLAGS = ["-static-libstdc++"])
7 -opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr/local", PathVariable.PathIsDirCreate))
8 +opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr", PathVariable.PathIsDirCreate))
9 opts.Add(PathVariable("DESTDIR", "Destination root directory", "", PathVariable.PathAccept))
10 opts.Add(EnumVariable("mode", "Compilation mode", "release", allowed_values=("release", "debug", "profile")))
16 -env.Install("$DESTDIR$PREFIX/games", sky)
17 +env.Install("$DESTDIR$PREFIX/bin", sky)
19 # Install the desktop file:
20 env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")