summaryrefslogtreecommitdiff
path: root/muse/doc/man/de/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'muse/doc/man/de/CMakeLists.txt')
-rw-r--r--muse/doc/man/de/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/muse/doc/man/de/CMakeLists.txt b/muse/doc/man/de/CMakeLists.txt
index 994831b1..0aa18c16 100644
--- a/muse/doc/man/de/CMakeLists.txt
+++ b/muse/doc/man/de/CMakeLists.txt
@@ -26,7 +26,11 @@ add_custom_command (
${CMAKE_CURRENT_SOURCE_DIR}/man-de.tex
${CMAKE_CURRENT_SOURCE_DIR}/projekte.tex
COMMAND ${TEXEXEC_PATH}/texexec
- ARGS --language=en --verbose --batch --pdf --result=man-de.pdf man-de.tex
+ ARGS --language=en --verbose --batch --pdf
+ --path=${CMAKE_CURRENT_SOURCE_DIR}
+ --result=${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf
+ man-de.tex
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target ( man-de ALL
@@ -34,7 +38,7 @@ add_custom_target ( man-de ALL
)
install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf
- ${CMAKE_CURRENT_SOURCE_DIR}/man-de.pdf )
+ ${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf )
set (extraClean man-de.log man-de.tmp man-de.tuo man-de.tui
man-de-mpgraph.mp mpgraph.mp )