Skip to content

Commit a64dcec

Browse files
mwhudsonseverin-lemaignan
authored andcommitted
[cmake] add dependency from man to revisiontag
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.
1 parent bd21ebe commit a64dcec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ ELSE()
238238
${CMAKE_CURRENT_SOURCE_DIR}/doc/man
239239
${SPHINX_MAN_OUTPUT} &&
240240
${GZIP} -f ${SPHINX_MAN_OUTPUT}/*.1)
241+
ADD_DEPENDENCIES(man revisiontag)
241242
INSTALL(FILES ${SPHINX_MAN_OUTPUT}/morse.1.gz
242243
${SPHINX_MAN_OUTPUT}/morse-run.1.gz
243244
${SPHINX_MAN_OUTPUT}/morse-create.1.gz

0 commit comments

Comments
 (0)