diff options
-rw-r--r-- | muse/doc/man/en/CMakeLists.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/muse/doc/man/en/CMakeLists.txt b/muse/doc/man/en/CMakeLists.txt new file mode 100644 index 00000000..8b96b738 --- /dev/null +++ b/muse/doc/man/en/CMakeLists.txt @@ -0,0 +1,42 @@ +#============================================================================= +# MusE +# Linux Music Editor +# $Id:$ +# +# Copyright (C) 2002-2006 by Werner Schweer and others +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License version 2. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# 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 + 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 + ) + +add_custom_target ( man-en ALL + DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man-en.pdf + ) + +install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf + ${CMAKE_CURRENT_SOURCE_DIR}/man-en.pdf ) + +set (extraClean man-en.log man-en.tmp man-en.tuo man-en.tui + man-en-mpgraph.mp mpgraph.mp ) + +set_directory_properties( PROPERTIES + ADDITIONAL_MAKE_CLEAN_FILES "${extraClean}" + ) |