mgerhardy / caveexpress

CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
http://www.caveproductions.org/
Other
144 stars 20 forks source link

LINUX: BINDIR, DATADIR and PKGDATADIR support missing #66

Open mgerhardy opened 8 years ago

mgerhardy commented 8 years ago

Right now it is not possible to set the installation paths for the bin and the data files of the games.

PKGDATADIR exists, but doesn't have any influence on the install paths. The game is looking at PKGDATADIR, but make install installs them into the wrong dirs. This results in startup errors for the games.

Alternatively package developers can write a wrapper to first switch to the data dir and then start the game binary. But usually packagers consider this a hack.

mgerhardy commented 8 years ago

This commit uses PKGDATADIR as install target for the game data. But BINDIR and DATADIR support is still missing, so leaving this one open.