diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-01-24 17:52:53 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-01-24 17:52:53 +0100 |
commit | c07ad72f016930e2aba6471d0e2e9625b935bf9a (patch) | |
tree | 03aa7b7c737a7a70321ef25d67c2fbd892cd76db /longbow/documentation/CMakeLists.txt | |
parent | 9fc2b9ec49c54ec2d5f0164bbedc1c78732c464c (diff) |
Remove cframework files from master
Change-Id: I02f17ede1cf97986a8b8852ed6d6a28fc016f590
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'longbow/documentation/CMakeLists.txt')
-rw-r--r-- | longbow/documentation/CMakeLists.txt | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/longbow/documentation/CMakeLists.txt b/longbow/documentation/CMakeLists.txt deleted file mode 100644 index 61e9f8b6..00000000 --- a/longbow/documentation/CMakeLists.txt +++ /dev/null @@ -1,45 +0,0 @@ -find_package(Doxygen) - -if(DOXYGEN_FOUND) - set(PARC_REMOTE http://githubenterprise.parc.com/CCNX/LongBow) - set(GITHUB_REMOTE http://github.com/PARC/LongBow) - configure_file(longbow.doxygen.in config.doxygen @ONLY) - - install(DIRECTORY images/ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/longbow/images COMPONENT documentation) - install(DIRECTORY doxygen-extras/ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/longbow/doxygen-extras COMPONENT documentation) - install(DIRECTORY examples/ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/longbow/examples COMPONENT documentation) - install(FILES DoxygenLayout.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/longbow COMPONENT documentation) - - set(HTML_PATH ${CMAKE_CURRENT_BINARY_DIR}/generated-documentation/html) - - add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/documentation.tar - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/config.doxygen - COMMAND tar cf documentation.tar -C ${HTML_PATH} . - COMMENT "The file documentation.tar contains the HTML website suitable to update/replace the gh-pages branch of this repository." VERBATIM ) - - add_custom_target(documentation - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/documentation.tar - WORKING_DIRECTORY ${HTML_PATH}) - - add_custom_command(OUTPUT ${HTML_PATH}/.git/config - DEPENDS documentation - WORKING_DIRECTORY ${HTML_PATH} - COMMAND git init . - COMMAND git checkout -B gh-pages - COMMAND git add . - COMMAND git commit -am 'Override all previous versions' - COMMAND git remote add parc ${PARC_REMOTE} - COMMAND git remote add github ${GITHUB_REMOTE}) - - add_custom_target(documentation-install-parc - DEPENDS ${HTML_PATH}/.git/config - WORKING_DIRECTORY ${HTML_PATH} - COMMAND git push parc gh-pages -f) - - add_custom_target(documentation-install-github - DEPENDS ${HTML_PATH}/.git/config - WORKING_DIRECTORY ${HTML_PATH} - COMMAND git push github gh-pages -f) - -endif(DOXYGEN_FOUND) |