Add the changelog target as a dependency of the ybcon one

This commit is contained in:
Username404 2021-10-02 14:22:29 +02:00
parent c422d4439a
commit 1df9b9ed74
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -143,6 +143,7 @@ if (UNIX AND NOT MINGW)
COMMENT "Compressing the changelog file"
)
add_custom_target(changelog ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}")
add_dependencies(ybcon changelog)
string(TOLOWER "${CMAKE_INSTALL_DOCDIR}" DEB_CHANGELOG_DEST_DIR) # Lowercase characters are needed because GNUInstallDirs uses the PROJECT_NAME variable.
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"