summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Schweer <ws.seh.de>2006-05-04 11:51:48 +0000
committerWerner Schweer <ws.seh.de>2006-05-04 11:51:48 +0000
commit7afde560183e3c07481f20a4671b7c7100175c74 (patch)
tree9065ac5d3ab26255e344bd8480676da19c08661a
parentc899f105c7e3e0fcfe26c082f58956f7c150e626 (diff)
add file
-rw-r--r--muse/doc/man/en/CMakeLists.txt42
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}"
+ )