diff --git a/CMakeLists.txt b/CMakeLists.txt index 8dd8d4c..96d4c85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,9 @@ INCLUDE( cmake/modules/TargetDistclean.cmake OPTIONAL) # See this thread for a ridiculous discussion about the simple question how to install a header file with CMake: http://www.cmake.org/pipermail/cmake/2009-October/032874.html install (DIRECTORY include DESTINATION . FILES_MATCHING PATTERN "frei0r.h" PATTERN "msvc" EXCLUDE) -add_subdirectory (doc) +# For code documentation run: doxygen doc/Doxyfile +# add_subdirectory (doc) + add_subdirectory (src) # Generate frei0r.pc and install it. diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt deleted file mode 100644 index 4be9cf3..0000000 --- a/doc/CMakeLists.txt +++ /dev/null @@ -1,10 +0,0 @@ -find_package(Doxygen) -if(DOXYGEN_FOUND) -# configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) -add_custom_target(doc -${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile -WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} -COMMENT "Generating API documentation with Doxygen" VERBATIM -) -endif(DOXYGEN_FOUND) - diff --git a/doc/Doxyfile b/doc/Doxyfile index 47b3157..b7bda63 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -568,7 +568,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = "../include/frei0r.h" +INPUT = "include/frei0r.h" # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is diff --git a/include/frei0r.h b/include/frei0r.h index 38fdfc8..09b6e31 100644 --- a/include/frei0r.h +++ b/include/frei0r.h @@ -23,7 +23,7 @@ * @section sec_overview Overview * * If you are new to frei0r, the best thing is probably to have - * a look at the frei0r header, + * a look at the frei0r header, * which is quite simple. * * After that, you might want to look at the