diff options
Diffstat (limited to 'muse/doc')
-rw-r--r-- | muse/doc/dimpl/CMakeLists.txt | 15 | ||||
-rw-r--r-- | muse/doc/man/de/CMakeLists.txt | 17 | ||||
-rw-r--r-- | muse/doc/man/en/CMakeLists.txt | 19 |
3 files changed, 24 insertions, 27 deletions
diff --git a/muse/doc/dimpl/CMakeLists.txt b/muse/doc/dimpl/CMakeLists.txt index bcec6eb9..ab88e87c 100644 --- a/muse/doc/dimpl/CMakeLists.txt +++ b/muse/doc/dimpl/CMakeLists.txt @@ -20,22 +20,21 @@ set (SRC dimpl.tex) -add_custom_command ( +add_custom_command ( OUTPUT dimpl.pdf DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dimpl.tex - COMMAND ${TEXEXEC_PATH}/texexec + COMMAND ${TEXEXEC_PATH}/texexec ARGS --language=en --verbose --batch --pdf - --path=${CMAKE_CURRENT_SOURCE_DIR} - --result=dimpl.pdf - dimpl.tex + --result=dimpl.pdf + ${CMAKE_CURRENT_SOURCE_DIR}/dimpl.tex WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_custom_target ( dimpl ALL - DEPENDS dimpl.pdf +add_custom_target ( program_doc + DEPENDS dimpl.pdf ) -install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf +install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf ${CMAKE_CURRENT_BINARY_DIR}/dimpl.pdf ) set (extraClean dimpl.log dimpl.tmp dimpl.tuo dimpl.tui diff --git a/muse/doc/man/de/CMakeLists.txt b/muse/doc/man/de/CMakeLists.txt index 9dc7eb8f..0c70dd3b 100644 --- a/muse/doc/man/de/CMakeLists.txt +++ b/muse/doc/man/de/CMakeLists.txt @@ -18,9 +18,9 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #============================================================================= -add_custom_command ( +add_custom_command ( OUTPUT man-de.pdf - DEPENDS + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man-de.tex ${CMAKE_CURRENT_SOURCE_DIR}/projekte.tex ${CMAKE_CURRENT_SOURCE_DIR}/miditracks.tex @@ -28,19 +28,18 @@ add_custom_command ( ${CMAKE_CURRENT_SOURCE_DIR}/midirecording.tex ${CMAKE_CURRENT_SOURCE_DIR}/installation.tex ${CMAKE_CURRENT_SOURCE_DIR}/automation.tex - COMMAND ${TEXEXEC_PATH}/texexec + COMMAND ${TEXEXEC_PATH}/texexec ARGS --language=en --verbose --batch --pdf - --path=${CMAKE_CURRENT_SOURCE_DIR} - --result=man-de.pdf - man-de.tex + --result=man-de.pdf + ${CMAKE_CURRENT_SOURCE_DIR}/man-de.tex WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_custom_target ( man-de ALL - DEPENDS man-de.pdf +add_custom_target ( manual + DEPENDS man-de.pdf ) -install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf +install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf ${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf ) set (extraClean man-de.log man-de.tmp man-de.tuo man-de.tui diff --git a/muse/doc/man/en/CMakeLists.txt b/muse/doc/man/en/CMakeLists.txt index a5bc1a8b..ba97e6d1 100644 --- a/muse/doc/man/en/CMakeLists.txt +++ b/muse/doc/man/en/CMakeLists.txt @@ -18,24 +18,23 @@ # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #============================================================================= -add_custom_command ( +add_custom_command ( OUTPUT man-en.pdf - DEPENDS + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man-en.tex ${CMAKE_CURRENT_SOURCE_DIR}/projects.tex - COMMAND ${TEXEXEC_PATH}/texexec - ARGS --language=en --verbose --batch --pdf - --path=${CMAKE_CURRENT_SOURCE_DIR} - --result=man-en.pdf - man-en.tex + COMMAND ${TEXEXEC_PATH}/texexec + ARGS --language=en --verbose --batch --pdf + --result=man-en.pdf + ${CMAKE_CURRENT_SOURCE_DIR}/man-en.tex WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) -add_custom_target ( man-en ALL - DEPENDS man-en.pdf +add_custom_target ( manual + DEPENDS man-en.pdf ) -install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf +install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf ${CMAKE_CURRENT_BINARY_DIR}/man-en.pdf ) set (extraClean man-en.log man-en.tmp man-en.tuo man-en.tui |