summaryrefslogtreecommitdiff
path: root/muse/doc
diff options
context:
space:
mode:
Diffstat (limited to 'muse/doc')
-rw-r--r--muse/doc/dimpl/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/muse/doc/dimpl/CMakeLists.txt b/muse/doc/dimpl/CMakeLists.txt
index 56148ef4..bcec6eb9 100644
--- a/muse/doc/dimpl/CMakeLists.txt
+++ b/muse/doc/dimpl/CMakeLists.txt
@@ -21,18 +21,22 @@
set (SRC dimpl.tex)
add_custom_command (
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dimpl.pdf
+ OUTPUT dimpl.pdf
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dimpl.tex
COMMAND ${TEXEXEC_PATH}/texexec
- ARGS --language=en --verbose --batch --pdf --result=dimpl.pdf dimpl.tex
+ ARGS --language=en --verbose --batch --pdf
+ --path=${CMAKE_CURRENT_SOURCE_DIR}
+ --result=dimpl.pdf
+ dimpl.tex
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target ( dimpl ALL
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/dimpl.pdf
+ DEPENDS dimpl.pdf
)
install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf
- ${CMAKE_CURRENT_SOURCE_DIR}/dimpl.pdf )
+ ${CMAKE_CURRENT_BINARY_DIR}/dimpl.pdf )
set (extraClean dimpl.log dimpl.tmp dimpl.tuo dimpl.tui
dimpl-mpgraph.mp mpgraph.mp )