summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2013-10-02 11:09:48 +0100
committerRoger Leigh <rleigh@debian.org>2013-10-02 11:09:48 +0100
commite846c776d9603e422c1c6ef8477ec9872ea05245 (patch)
treed4385eb492bf7ee2c13899acea5bb8c4b1dd6d83
parent7ad05410b31e2a47875835abf9569b476a8d9f98 (diff)
downloadschroot-e846c776d9603e422c1c6ef8477ec9872ea05245.tar.gz
cmake: Don't retranslate manpages when config.man changesrelease/schroot-1.7.1debian/schroot-1.7.1-1
-rw-r--r--man/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt
index 50cb43c1..44958cb2 100644
--- a/man/CMakeLists.txt
+++ b/man/CMakeLists.txt
@@ -25,7 +25,6 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.man.cmake
${CMAKE_CURRENT_BINARY_DIR}/config.man)
set(common_dependencies
- ${CMAKE_CURRENT_BINARY_DIR}/config.man
authors.man
copyright.man)
@@ -156,6 +155,7 @@ foreach(manpage_source ${manpage_sources})
> "${manpage}"
DEPENDS "${manpage_source_file}"
${common_dependencies}
+ ${CMAKE_CURRENT_BINARY_DIR}/config.man
VERBATIM)
install(FILES "${manpage}"
DESTINATION "${CMAKE_INSTALL_FULL_MANDIR}/${manpage_path}")
@@ -176,13 +176,13 @@ if(GROFFER_EXECUTABLE)
set(manpages_ps ${manpages_ps} "${manpage}.ps")
add_custom_command(OUTPUT "${manpage}.ps"
COMMAND ${GROFFER_EXECUTABLE} -K utf8 --ps -man --to-stdout "${manpage}" > "${manpage}.ps"
- DEPENDS "${manpage}" ${common_dependencies}
+ DEPENDS "${manpage}" ${common_dependencies} ${CMAKE_CURRENT_BINARY_DIR}/config.man
VERBATIM)
set(manpages_pdf ${manpages_pdf} "${manpage}.pdf")
add_custom_command(OUTPUT "${manpage}.pdf"
COMMAND ${GROFFER_EXECUTABLE} -K utf8 --pdf -man --to-stdout "${manpage}" > "${manpage}.pdf"
- DEPENDS "${manpage}" ${common_dependencies}
+ DEPENDS "${manpage}" ${common_dependencies} ${CMAKE_CURRENT_BINARY_DIR}/config.man
VERBATIM)
endforeach(manpage)