summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt1
-rw-r--r--doc/publish.sh.in8
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6f9f078..ff2030a 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -5,6 +5,7 @@ find_package(Doxygen)
# --- Create Doxygen source documentation by typing `make doc`
if(DOXYGEN_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/publish.sh.in ${CMAKE_CURRENT_BINARY_DIR}/publish.sh)
# add 'ALL after 'doc' to create documentation, whenever you type make
add_custom_target(doc
diff --git a/doc/publish.sh.in b/doc/publish.sh.in
new file mode 100644
index 0000000..6ae3733
--- /dev/null
+++ b/doc/publish.sh.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo -n "user: "
+read -e USER
+echo -n "host (:~/public_html is appended): "
+read -e HOST
+
+scp -r html/ $USER@$HOST:~/public_html/libuca-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}