Skip to content

Commit

Permalink
[cmake] add dependency from man to revisiontag
Browse files Browse the repository at this point in the history
Without this the target can run before version.py is generated, causing the
build to fail. This has started happening in Debian/Ubuntu recently for some
unclear reason, but what is clear is that this only ever worked by chance.
  • Loading branch information
mwhudson authored and severin-lemaignan committed Jan 31, 2018
1 parent bd21ebe commit a64dcec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -238,6 +238,7 @@ ELSE()
${CMAKE_CURRENT_SOURCE_DIR}/doc/man
${SPHINX_MAN_OUTPUT} &&
${GZIP} -f ${SPHINX_MAN_OUTPUT}/*.1)
ADD_DEPENDENCIES(man revisiontag)
INSTALL(FILES ${SPHINX_MAN_OUTPUT}/morse.1.gz
${SPHINX_MAN_OUTPUT}/morse-run.1.gz
${SPHINX_MAN_OUTPUT}/morse-create.1.gz
Expand Down

0 comments on commit a64dcec

Please sign in to comment.