cmake: stop deleting the source when gzipping manpages
This commit is contained in:
parent
041207090a
commit
62f2e3d549
|
@ -187,9 +187,12 @@ IF(GENERATE_MANPAGES)
|
||||||
ADD_CUSTOM_COMMAND(COMMAND ${XMLTO_EXECUTABLE} man ${xmlfile}
|
ADD_CUSTOM_COMMAND(COMMAND ${XMLTO_EXECUTABLE} man ${xmlfile}
|
||||||
OUTPUT ${manfile}
|
OUTPUT ${manfile}
|
||||||
DEPENDS ${xmlfile})
|
DEPENDS ${xmlfile})
|
||||||
ADD_CUSTOM_COMMAND(COMMAND ${GZIP_EXECUTABLE} -f ${manfile}
|
ADD_CUSTOM_COMMAND(COMMAND ${CAT_EXECUTABLE} ${manfile}
|
||||||
|
| ${GZIP_EXECUTABLE}
|
||||||
|
> ${gzfile}
|
||||||
OUTPUT ${gzfile}
|
OUTPUT ${gzfile}
|
||||||
DEPENDS ${manfile})
|
DEPENDS ${manfile}
|
||||||
|
VERBATIM)
|
||||||
|
|
||||||
SET(MAN_FILES ${MAN_FILES} ${gzfile})
|
SET(MAN_FILES ${MAN_FILES} ${gzfile})
|
||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
|
|
Loading…
Reference in New Issue