Upload doc+dox script
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 28 Aug 2009 10:44:15 +0000 (12:44 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 28 Aug 2009 10:44:15 +0000 (12:44 +0200)
upload.sh [new file with mode: 0755]

diff --git a/upload.sh b/upload.sh
new file mode 100755 (executable)
index 0000000..3c837ce
--- /dev/null
+++ b/upload.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+P=yaz
+set -x
+doxygen >out  2>stderr
+if test -s stderr; then
+       echo "doxygen warnings.. Fix your Doxygen comments!"
+       cat stderr
+       exit 1
+fi
+(cd doc && make ${P}.pdf index.html)
+cp NEWS doc/
+tar cz --exclude=.git -f - dox doc|ssh us2 'cd software/${P}; tar xzf -'
+exit 0