summaryrefslogtreecommitdiff
path: root/muse2/share/html/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/share/html/CMakeLists.txt')
-rw-r--r--muse2/share/html/CMakeLists.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/muse2/share/html/CMakeLists.txt b/muse2/share/html/CMakeLists.txt
index f737d3d5..e771637a 100644
--- a/muse2/share/html/CMakeLists.txt
+++ b/muse2/share/html/CMakeLists.txt
@@ -18,11 +18,13 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-# FIXME: Won't work.
-#install_files( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/html .*\\.html .*\\.txt .*\\.jpg )
-
-install_files( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/html .*\\.html )
-install_files( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/html .*\\.jpg )
-# FIXME: Installs CMakeLists.txt !!!
-install_files( /${SHARE_INSTALL_PREFIX}/${MusE_INSTALL_NAME}/html .*\\.txt )
+file (GLOB html_files
+ *.css
+ *.html
+ *.jpg
+ toc_.txt
+ )
+install( FILES ${html_files}
+ DESTINATION ${MusE_DOC_DIR}/html
+ )