Use default (global) OpenTTD data dirs for install
the current local paths should be added as commented-out version to the Makefile.local.sample
Maybe this needs also checking on the (detailed) OS, more than just OS-type
#1 Updated by planetmaker over 10 years ago
The root of the directory tree for read-only architecture-independent data files. This should normally be /usr/local/share, but write it as $(prefix)/share. (If you are using Autoconf, write it as ‘
datarootdir’.) ‘datadir’'s default value is based on this variable; so are ‘infodir’, ‘mandir’, and others.
The directory for installing idiosyncratic read-only architecture-independent data files for this program. This is usually the same place as ‘datarootdir’, but we use the two separate variables so that you can move these program-specific files without altering the location for Info files, man pages, etc.
This should normally be /usr/local/share, but write it as $(datarootdir). (If you are using Autoconf, write it as ‘
The definition of ‘datadir’ is the same for all packages, so you should install your data in a subdirectory thereof. Most packages install their data under $(datadir)/package-name/.
4. The binary directory (where the OpenTTD executable is)
271 Windows: C:\Program Files\OpenTTD
272 Linux: /usr/games
273 5. The installation directory (Linux only)
274 Linux: /usr/share/games/openttd