From: Adam Dickmeiss Date: Fri, 28 Aug 2009 12:42:18 +0000 (+0200) Subject: upload script X-Git-Tag: v1.1.1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3bf8f39f8b9067c605ca0bc8f1352db1de80422e;p=pazpar2-moved-to-github.git upload script --- diff --git a/upload.sh b/upload.sh new file mode 100755 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