summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/doc/man/de/CMakeLists.txt8
-rw-r--r--muse/doc/man/en/CMakeLists.txt12
2 files changed, 10 insertions, 10 deletions
diff --git a/muse/doc/man/de/CMakeLists.txt b/muse/doc/man/de/CMakeLists.txt
index 0aa18c16..6b64a5ea 100644
--- a/muse/doc/man/de/CMakeLists.txt
+++ b/muse/doc/man/de/CMakeLists.txt
@@ -18,23 +18,21 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-set (SRC man-de.tex)
-
add_custom_command (
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf
+ OUTPUT man-de.pdf
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/man-de.tex
${CMAKE_CURRENT_SOURCE_DIR}/projekte.tex
COMMAND ${TEXEXEC_PATH}/texexec
ARGS --language=en --verbose --batch --pdf
--path=${CMAKE_CURRENT_SOURCE_DIR}
- --result=${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf
+ --result=man-de.pdf
man-de.tex
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target ( man-de ALL
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf
+ DEPENDS man-de.pdf
)
install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf
diff --git a/muse/doc/man/en/CMakeLists.txt b/muse/doc/man/en/CMakeLists.txt
index 8b96b738..278eaf05 100644
--- a/muse/doc/man/en/CMakeLists.txt
+++ b/muse/doc/man/en/CMakeLists.txt
@@ -18,17 +18,19 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-set (SRC man-en.tex)
-
add_custom_command (
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man-en.pdf
+ OUTPUT man-en.pdf
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man-en.tex
COMMAND ${TEXEXEC_PATH}/texexec
- ARGS --language=en --verbose --batch --pdf --result=man-en.pdf man-en.tex
+ ARGS --language=en --verbose --batch --pdf
+ --path=${CMAKE_CURRENT_SOURCE_DIR}
+ --result=man-en.pdf
+ man-en.tex
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target ( man-en ALL
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man-en.pdf
+ DEPENDS man-en.pdf
)
install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf