summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2006-05-15 14:50:59 +0000
committerWerner Schweer <ws.seh.de>2006-05-15 14:50:59 +0000
commit195f182d2827ac6fff255da009958e5c00bd05ab (patch)
tree8f075465ad035dedfe675410430f95f3937a5286
parentdd6f5bb2fe0a059a769636fab3fc728d02fdd1e3 (diff)
cmake fixes for doc/dimpl build
-rw-r--r--muse/CMakeLists.txt1
-rw-r--r--muse/doc/dimpl/CMakeLists.txt12
2 files changed, 9 insertions, 4 deletions
diff --git a/muse/CMakeLists.txt b/muse/CMakeLists.txt
index bb434178..e1eda9a6 100644
--- a/muse/CMakeLists.txt
+++ b/muse/CMakeLists.txt
@@ -192,6 +192,7 @@ include_directories(
${PROJECT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/muse
${PROJECT_SOURCE_DIR}/muse/widgets
+ ${PROJECT_BINARY_DIR}
${PROJECT_BINARY_DIR}/muse
${PROJECT_BINARY_DIR}/muse/widgets
${PROJECT_BINARY_DIR}/muse/instruments
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 )