Add the changelog target as a dependency of the ybcon one
This commit is contained in:
parent
c422d4439a
commit
1df9b9ed74
@ -143,6 +143,7 @@ if (UNIX AND NOT MINGW)
|
|||||||
COMMENT "Compressing the changelog file"
|
COMMENT "Compressing the changelog file"
|
||||||
)
|
)
|
||||||
add_custom_target(changelog ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}")
|
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.
|
string(TOLOWER "${CMAKE_INSTALL_DOCDIR}" DEB_CHANGELOG_DEST_DIR) # Lowercase characters are needed because GNUInstallDirs uses the PROJECT_NAME variable.
|
||||||
install(
|
install(
|
||||||
FILES "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"
|
FILES "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"
|
||||||
|
Loading…
Reference in New Issue
Block a user