From 1c7397ef1885c5c758ab0b6d22ed2ee45e2e24f8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 28 Aug 2009 12:44:15 +0200 Subject: [PATCH] Upload doc+dox script --- upload.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 upload.sh diff --git a/upload.sh b/upload.sh new file mode 100755 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 -- 1.7.10.4