upload script v1.1.1
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 28 Aug 2009 12:42:18 +0000 (14:42 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 28 Aug 2009 12:42:18 +0000 (14:42 +0200)
upload.sh [new file with mode: 0755]

diff --git a/upload.sh b/upload.sh
new file mode 100755 (executable)
index 0000000..d12c2c9
--- /dev/null
+++ b/upload.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+P=pazpar2
+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