mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
- set some install defaults for posix systems
This commit is contained in:
parent
220283d1ec
commit
38faefa663
2 changed files with 6 additions and 3 deletions
|
@ -99,7 +99,7 @@ function( add_pk3 PK3_NAME PK3_DIR )
|
|||
if( WIN32 )
|
||||
set( INSTALL_PK3_PATH . CACHE STRING "Directory where engine data will be placed during install." )
|
||||
else()
|
||||
set( INSTALL_PK3_PATH share/games/doom CACHE STRING "Directory where engine data will be placed during install." )
|
||||
set( INSTALL_PK3_PATH share/games/raze CACHE STRING "Directory where engine data will be placed during install." )
|
||||
endif()
|
||||
install(FILES "${PROJECT_BINARY_DIR}/${PK3_NAME}"
|
||||
DESTINATION ${INSTALL_PK3_PATH}
|
||||
|
|
|
@ -96,9 +96,12 @@ FGameConfigFile::FGameConfigFile ()
|
|||
SetValueForKey ("Path", "$PROGDIR/*", true);
|
||||
#else
|
||||
SetValueForKey ("Path", "$HOME/" GAME_DIR "/*", true);
|
||||
// Arch Linux likes them in /usr/share/doom
|
||||
// Debian likes them in /usr/share/games/doom
|
||||
// Arch Linux likes them in /usr/share/raze
|
||||
// Debian likes them in /usr/share/games/raze
|
||||
// I assume other distributions don't do anything radically different
|
||||
SetValueForKey ("Path", "/opt/raze", true);
|
||||
SetValueForKey ("Path", "/usr/share/games/raze", true);
|
||||
SetValueForKey ("Path", "/usr/local/share/games/raze", true);
|
||||
SetValueForKey ("Path", "/usr/share/games/jfduke3d", true);
|
||||
SetValueForKey ("Path", "/usr/local/share/games/jfduke3d", true);
|
||||
SetValueForKey ("Path", "/usr/share/games/eduke32", true);
|
||||
|
|
Loading…
Reference in a new issue