ref: refs/heads/master
commit cbba7d87af831b334c94ab8556962870f574882b
Author: Klaus Kämpf
Date: Fri Mar 27 17:12:59 2009 +0100
Re-create full rdoc documenation on 'make'
rdoc only generates documentation of changed files per default.
However, parse_swig needs to parse all files as it caches module and
class information. Thus we need to remove all previously generated
docs and start over.
---
bindings/ruby/CMakeLists.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bindings/ruby/CMakeLists.txt b/bindings/ruby/CMakeLists.txt
index 64a6437..82a8221 100644
--- a/bindings/ruby/CMakeLists.txt
+++ b/bindings/ruby/CMakeLists.txt
@@ -44,6 +44,7 @@ SET(rdoc_dir "${CMAKE_CURRENT_BINARY_DIR}/html")
ADD_CUSTOM_COMMAND (
OUTPUT ${rdoc_dir}
COMMAND ${CMAKE_COMMAND} -E echo_append "Creating rdoc documentation ..."
+ COMMAND rm -rf ${rdoc_dir}
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/rdoc -o ${rdoc_dir} satsolver.i *.i
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bindings
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org