diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-16 14:02:43 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-16 14:02:43 +0100 |
commit | 31b20f08150907fadc05e5054f4ffd04f68d2144 (patch) | |
tree | 8f4aaf79177341bcdc709830608529d58eb204c8 /doc | |
parent | 426687c80bbc52474a53939d7034d45180adc1f5 (diff) | |
download | libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.gz libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.bz2 libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.tar.xz libuca-31b20f08150907fadc05e5054f4ffd04f68d2144.zip |
Add publishing script and propagate version from top directory
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CMakeLists.txt | 1 | ||||
-rw-r--r-- | doc/publish.sh.in | 8 |
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} |