summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-05-31 22:13:42 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-05-31 22:13:42 (GMT)
commit0300df460afd3d467860947b1ea60fcb23fcd793 (patch)
tree77c2db057b07319b297a0e6a7734c5001ba44a02 /doc
parentdc3f46d5a74090f306496729a7684d418ae291a8 (diff)
downloadDoxygen-0300df460afd3d467860947b1ea60fcb23fcd793.zip
Doxygen-0300df460afd3d467860947b1ea60fcb23fcd793.tar.gz
Doxygen-0300df460afd3d467860947b1ea60fcb23fcd793.tar.bz2
Fix for Travis CI build (attempt 10)
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index b834c66..158f8e5 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -5,10 +5,16 @@ find_program(SED NAMES sed )
find_program(MAKE NAMES make gmake )
file(GLOB DOC_FILES "*")
+file(GLOB LANG_FILES "${CMAKE_SOURCE_DIR}/src/translator_??.h")
file(COPY ${DOC_FILES} DESTINATION ${DOXYDOCS})
file(COPY ${EXAMPLE_DIR} DESTINATION ${PROJECT_BINARY_DIR})
file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/man)
+file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/src)
+file(COPY ${CMAKE_SOURCE_DIR}/src/translator.h DESTINATION ${PROJECT_BINARY_DIR}/src)
+file(COPY ${CMAKE_SOURCE_DIR}/src/translator_adapter.h DESTINATION ${PROJECT_BINARY_DIR}/src)
+file(COPY ${LANG_FILES} DESTINATION ${PROJECT_BINARY_DIR}/src)
+file(COPY ${CMAKE_SOURCE_DIR}/VERSION DESTINATION ${PROJECT_BINARY_DIR})
add_custom_target(docs
COMMENT "Generating documentation in ${DOXYDOCS}"
@@ -21,7 +27,7 @@ add_custom_target(docs
COMMAND ${SED} -e "s/\$VERSION/${VERSION}/g" doxygen.sty > ../latex/doxygen.sty
COMMAND ${EPSTOPDF} doxygen_logo.eps --outfile=../latex/doxygen_logo.pdf
COMMAND ${MAKE} -C ../latex
- DEPENDS doxygen language.doc config.doc
+ DEPENDS doxygen ${PROJECT_BINARY_DIR}/doc/language.doc config.doc
"${PROJECT_BINARY_DIR}/man/doxygen.1"
"${PROJECT_BINARY_DIR}/man/doxywizard.1"
"${PROJECT_BINARY_DIR}/man/doxysearch.1"
@@ -35,7 +41,7 @@ add_custom_command(
COMMAND ${CMAKE_COMMAND} "-DSOURCE=${CMAKE_SOURCE_DIR}" -P ${CMAKE_SOURCE_DIR}/cmake/run_translator.cmake
DEPENDS ${DOXYDOCS}/translator.py
DEPENDS maintainers.txt language.tpl translator.py
- OUTPUT language.doc
+ OUTPUT ${PROJECT_BINARY_DIR}/doc/language.doc
WORKING_DIRECTORY ${DOXYDOCS}
)
set_source_files_properties(${DOXYDOCS}/language.doc PROPERTIES GENERATED 1)