Skip to content

Commit

Permalink
Make ChangeLog.2020, generate new ChangeLog beginning 2021.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Mar 26, 2021
1 parent 2d45691 commit 16af91b
Show file tree
Hide file tree
Showing 2 changed files with 6,465 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -807,7 +807,7 @@ add_subdirectory(cmake)

if (BUILDING_FROM_VCS)
add_custom_target(ChangeLog ALL
COMMAND ${GIT_EXECUTABLE} log --format=\"%ad %aN %n%n%x09* %s%d%n\" --date=short --since=2020-01-01 > ${CMAKE_BINARY_DIR}/ChangeLog
COMMAND ${GIT_EXECUTABLE} log --format=\"%ad %aN %n%n%x09* %s%d%n\" --date=short --since=2021-01-01 > ${CMAKE_BINARY_DIR}/ChangeLog
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
install(FILES ${CMAKE_BINARY_DIR}/ChangeLog DESTINATION ${CMAKE_INSTALL_DOCDIR})
Expand Down

0 comments on commit 16af91b

Please sign in to comment.