aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2012-08-27 10:56:44 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2012-08-27 10:56:44 +0200
commitaa1aa36d6da6ed349678975f1d93c7dc415257bc (patch)
tree6dd3f302054d6b36d2fe94ed936e73ed28faf80a /doc
parent904c2e6cfbe22d657c583cd9e5b836a769819dba (diff)
simplify eigen-doc.tgz file generation, and make it more future proof
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 96bff41bf..ad3113344 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -71,8 +71,10 @@ add_custom_target(doc ALL
COMMAND doxygen
COMMAND doxygen Doxyfile-unsupported # run doxygen twice to get proper eigen <=> unsupported cross references
COMMAND ${CMAKE_COMMAND} -E rename html eigen-doc
- COMMAND ${CMAKE_COMMAND} -E tar cvfz eigen-doc/eigen-doc.tgz eigen-doc/*.html eigen-doc/*.map eigen-doc/*.png eigen-doc/*.css eigen-doc/*.js eigen-doc/*.txt eigen-doc/unsupported
+ COMMAND ${CMAKE_COMMAND} -E remove eigen-doc/eigen-doc.tgz
+ COMMAND ${CMAKE_COMMAND} -E tar cvfz eigen-doc/eigen-doc.tgz eigen-doc
COMMAND ${CMAKE_COMMAND} -E rename eigen-doc html
- WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc)
+ WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc
+ VERBATIM)
add_dependencies(doc doc-eigen-prerequisites doc-unsupported-prerequisites)