summaryrefslogtreecommitdiff
path: root/muse2/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2013-02-22 06:46:23 +0000
committerTim E. Real <termtech@rogers.com>2013-02-22 06:46:23 +0000
commit48b9d2ea9961f935bacabc75a2fbd5cc141010ae (patch)
tree37512a1feed9d02145e0e52f0c96e5fe42a83f62 /muse2/doc/CMakeLists.txt
parent2d1fc0416a2d8611659a4f630fbc5719f35b694d (diff)
New: Install pre-built PDF + single/split HMTL docs. Separate devel docs. Added build script.
Diffstat (limited to 'muse2/doc/CMakeLists.txt')
-rw-r--r--muse2/doc/CMakeLists.txt75
1 files changed, 75 insertions, 0 deletions
diff --git a/muse2/doc/CMakeLists.txt b/muse2/doc/CMakeLists.txt
new file mode 100644
index 00000000..de90563e
--- /dev/null
+++ b/muse2/doc/CMakeLists.txt
@@ -0,0 +1,75 @@
+#=============================================================================
+# MusE
+# Linux Music Editor
+# $Id:$
+#
+# Copyright (C) 1999-2013 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
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# 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.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+#=============================================================================
+
+install( FILES pdf/documentation.pdf pdf/developer_docs.pdf
+ DESTINATION ${MusE_DOC_DIR}/muse_pdf
+ )
+
+file (GLOB single_documentation_html_files
+ html/single/documentation/*.css
+ html/single/documentation/*.html
+ # html/single/documentation/*.jpg
+ html/single/documentation/*.png
+ # html/single/documentation/toc_.txt
+ )
+
+file (GLOB single_developer_docs_html_files
+ html/single/developer_docs/*.css
+ html/single/developer_docs/*.html
+ # html/single/developer_docs/*.jpg
+ html/single/developer_docs/*.png
+ # html/single/developer_docs/toc_.txt
+ )
+
+file (GLOB split_documentation_html_files
+ html/split/documentation/*.css
+ html/split/documentation/*.html
+ # html/split/documentation/*.jpg
+ html/split/documentation/*.png
+ # html/split/documentation/toc_.txt
+ )
+
+file (GLOB split_developer_docs_html_files
+ html/split/developer_docs/*.css
+ html/split/developer_docs/*.html
+ # html/split/developer_docs/*.jpg
+ html/split/developer_docs/*.png
+ # html/split/developer_docs/toc_.txt
+ )
+
+install( FILES ${single_documentation_html_files}
+ DESTINATION ${MusE_DOC_DIR}/muse_html/single/documentation
+ )
+
+install( FILES ${single_developer_docs_html_files}
+ DESTINATION ${MusE_DOC_DIR}/muse_html/single/developer_docs
+ )
+
+install( FILES ${split_documentation_html_files}
+ DESTINATION ${MusE_DOC_DIR}/muse_html/split/documentation
+ )
+
+install( FILES ${split_developer_docs_html_files}
+ DESTINATION ${MusE_DOC_DIR}/muse_html/split/developer_docs
+ )
+ \ No newline at end of file