Skip to content

Instantly share code, notes, and snippets.

@crmne
Created June 5, 2014 10:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save crmne/4f814ebaae8c0d1c6d84 to your computer and use it in GitHub Desktop.
commit 3762f3baeef518496d8c04b9d44836bc7ec85c81
Author: gperciva <gperciva@0e98fd9d-079e-457f-9c5c-d482923f975d>
Date: Fri Feb 1 00:30:39 2013 +0000
Improve doc building
git-svn-id: svn+ssh://svn.code.sf.net/p/marsyas/code/trunk@5076 0e98fd9d-079e-457f-9c5c-d482923f975d
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 779b626..70dbf2c 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -101,9 +101,7 @@ add_custom_target(docs ALL
DEPENDS ${OUT-WWW}/sourceDoc/index.html
)
-# FIXME: do this without an install.
-install(FILES ${PNG_IMAGES}
- DESTINATION ${OUT-WWW}/marsyas-user/images/
-)
+file(COPY ${PNG_IMAGES} DESTINATION ${OUT-WWW}/marsyas-user/images/)
+file(COPY ${CMAKE_SOURCE_DIR}/examples DESTINATION ${OUT-WWW}/manual)
diff --git a/doc/macros.itexi b/doc/macros.itexi
index 41ab3e8..fd34012 100644
--- a/doc/macros.itexi
+++ b/doc/macros.itexi
@@ -30,7 +30,7 @@
@macro examplefilenewpage{FILENAME}
@ifhtml
-@uref{../examples/\FILENAME\.html, \FILENAME\}
+@uref{../examples/\FILENAME\, \FILENAME\}
@end ifhtml
@ifnothtml
@subsubheading \FILENAME\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment