Skip to content

Commit

Permalink
Merge pull request #16489 from Gymnasiast/fix/16426
Browse files Browse the repository at this point in the history
Fix #16426: Empty changelog when installed to non-standard prefix
  • Loading branch information
Gymnasiast committed Mar 7, 2022
2 parents 354f8bf + fbc6106 commit 11ce0e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -415,6 +415,7 @@ endif ()
if (NOT MACOS_BUNDLE OR (MACOS_BUNDLE AND WITH_TESTS))
# Install
# Don't recurse, grab all *.txt and *.md files
add_definitions(-DDOCDIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DOCDIR}")
file(GLOB DOC_FILES "${ROOT_DIR}/distribution/*.txt")
list(APPEND DOC_FILES "${ROOT_DIR}/contributors.md"
"${ROOT_DIR}/licence.txt"
Expand Down
1 change: 1 addition & 0 deletions src/openrct2/platform/Platform.Linux.cpp
Expand Up @@ -63,6 +63,7 @@ namespace Platform
static const utf8* searchLocations[] = {
"./doc",
"/usr/share/doc/openrct2",
DOCDIR,
};
for (auto searchLocation : searchLocations)
{
Expand Down

0 comments on commit 11ce0e8

Please sign in to comment.