Replace installed hack/changelog.txt with stub

This was incomplete, but people were still referencing it.

Closes #1775
develop
lethosor 2021-03-06 12:43:31 -05:00
parent 2f629f3b22
commit 2bb4dbccc6
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
2 changed files with 13 additions and 1 deletions

@ -419,7 +419,8 @@ endif()
# build the lib itself # build the lib itself
if(BUILD_LIBRARY) if(BUILD_LIBRARY)
add_subdirectory(library) add_subdirectory(library)
install(FILES LICENSE.rst docs/changelog.txt DESTINATION ${DFHACK_USERDOC_DESTINATION}) install(FILES LICENSE.rst DESTINATION ${DFHACK_USERDOC_DESTINATION})
install(FILES docs/changelog-placeholder.txt DESTINATION ${DFHACK_USERDOC_DESTINATION} RENAME changelog.txt)
endif() endif()
file(WRITE "${CMAKE_BINARY_DIR}/dfhack_setarch.txt" ${DFHACK_SETARCH}) file(WRITE "${CMAKE_BINARY_DIR}/dfhack_setarch.txt" ${DFHACK_SETARCH})

@ -0,0 +1,11 @@
DFHack's changelog is no longer stored at this location.
- For a local copy, see hack/docs/docs/NEWS.html
(this requires offline docs to be installed)
- For an online copy, see https://dfhack.readthedocs.org/en/stable/docs/NEWS.html
---
Note to maintainers: this file is installed to hack/changelog.txt - for details,
see https://github.com/DFHack/dfhack/issues/1775