Skip to content

Commit

Permalink
Replace installed hack/changelog.txt with stub
Browse files Browse the repository at this point in the history
This was incomplete, but people were still referencing it.

Closes #1775
  • Loading branch information
lethosor committed Mar 6, 2021
1 parent 2f629f3 commit 2bb4dbc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ endif()
# build the lib itself
if(BUILD_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()

file(WRITE "${CMAKE_BINARY_DIR}/dfhack_setarch.txt" ${DFHACK_SETARCH})
Expand Down
11 changes: 11 additions & 0 deletions docs/changelog-placeholder.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2bb4dbc

Please sign in to comment.