From fee68a79a3b483744b300cae99cb322fab1b1bff Mon Sep 17 00:00:00 2001 From: arcan1s Date: Tue, 28 Jan 2014 06:03:29 +0400 Subject: [PATCH] edited docs building --- mathmech/docs.cmake | 3 ++- mathmech/doxygen.conf.in | 47 ++++------------------------------------ 2 files changed, 6 insertions(+), 44 deletions(-) diff --git a/mathmech/docs.cmake b/mathmech/docs.cmake index 0f925c1..1ddb3d6 100644 --- a/mathmech/docs.cmake +++ b/mathmech/docs.cmake @@ -8,7 +8,8 @@ find_package (Doxygen) set (DOXYGEN_INPUT ${CMAKE_SOURCE_DIR}) configure_file (${CMAKE_SOURCE_DIR}/doxygen.conf.in ${CMAKE_CURRENT_BINARY_DIR}/doxygen.conf) add_custom_target (oxygen-docs ALL COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.conf) - install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/ DESTINATION share/doc/${PROJECT_NAME}) + install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/html DESTINATION share/doc/${PROJECT_NAME}) + install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/man DESTINATION share/) else (DOXYGEN_FOUND) message (STATUS "WARNING: Doxygen not found - Reference manual will not be created") endif () diff --git a/mathmech/doxygen.conf.in b/mathmech/doxygen.conf.in index 0d15721..057b0fa 100644 --- a/mathmech/doxygen.conf.in +++ b/mathmech/doxygen.conf.in @@ -244,7 +244,7 @@ TCL_SUBST = # members will be omitted, etc. # The default value is: NO. -OPTIMIZE_OUTPUT_FOR_C = NO +OPTIMIZE_OUTPUT_FOR_C = YES # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or # Python sources only. Doxygen will then generate output that is more tailored @@ -408,7 +408,7 @@ LOOKUP_CACHE_SIZE = 0 # normally produced when WARNINGS is set to YES. # The default value is: NO. -EXTRACT_ALL = NO +EXTRACT_ALL = YES # If the EXTRACT_PRIVATE tag is set to YES all private members of a class will # be included in the documentation. @@ -774,47 +774,8 @@ INPUT_ENCODING = UTF-8 # *.qsf, *.as and *.js. FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.idl \ - *.ddl \ - *.odl \ *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.cs \ - *.d \ - *.php \ - *.php4 \ - *.php5 \ - *.phtml \ - *.inc \ - *.m \ - *.markdown \ - *.md \ - *.mm \ - *.dox \ - *.py \ - *.f90 \ - *.f \ - *.for \ - *.tcl \ - *.vhd \ - *.vhdl \ - *.ucf \ - *.qsf \ - *.as \ - *.js + *.dox # The RECURSIVE tag can be used to specify whether or not subdirectories should # be searched for input files as well. @@ -1793,7 +1754,7 @@ RTF_EXTENSIONS_FILE = # classes and files. # The default value is: NO. -GENERATE_MAN = NO +GENERATE_MAN = YES # The MAN_OUTPUT tag is used to specify where the man pages will be put. If a # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of