#4578: autotools: Use datarootdir as prefix for non game-specific system paths
-------------------------------------------------+-------------------------
Reporter: akien-mga | Owner:
Type: patch (an actual patch, not | Status: new
a request for one) | Milestone: unspecified
Priority: normal | Version: git/master
Component: Build System Issues |
Operating System: GNU/Linux 64bit |
-------------------------------------------------+-------------------------
This allows overriding datadir to point to /usr/share/games as done by
distros such as
Mageia and Debian, since it is the recommended (but not mandatory) path
from the FHS
for games data.
Packagers can now use `./configure --datadir=/usr/share/games` and still
get the expected layout:
```
/usr/share/games/warzone2100
/usr/share/applications/warzone2100.desktop
/usr/share/icons/...
etc.
```
Note that by default, `datadir` is defined as `${datarootdir}/${pkgname}`,
which is why it usually resolves to `/usr/share/warzone2100`.
--
Ticket URL: <http://developer.wz2100.net/ticket/4578>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project