Skip to content

Commit

Permalink
Keep noise doc install out of Travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Eilemann authored and Stefan Eilemann committed Aug 20, 2013
1 parent bc84d06 commit 16be294
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doxygit.cmake
Expand Up @@ -119,7 +119,8 @@ update_file("${CMAKE_CURRENT_BINARY_DIR}/index.html"
execute_process(COMMAND "${GIT_EXECUTABLE}" add images ${ENTRIES}
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")

if(VERSION_MAJOR) # hack to detect that not invoked as script
# hack to detect that not invoked as script and not under CI
if(VERSION_MAJOR AND NOT $ENV{TRAVIS})
foreach(FOLDER ${GIT_DOCUMENTATION_INSTALL})
install(DIRECTORY ${FOLDER} DESTINATION share/${CMAKE_PROJECT_NAME}
CONFIGURATIONS Release)
Expand Down

0 comments on commit 16be294

Please sign in to comment.