Fix Host header for SRU/SRW - bug #3069
[pazpar2-moved-to-github.git] / upload.sh
1 #!/bin/sh
2 P=pazpar2
3 set -x
4 doxygen >out  2>stderr
5 if test -s stderr; then
6         echo "doxygen warnings.. Fix your Doxygen comments!"
7         cat stderr
8         exit 1
9 fi
10 (cd doc && make ${P}.pdf index.html)
11 cp NEWS doc/
12 tar cz --exclude=.git -f - dox doc|ssh website "cd software/${P}; tar xzf -"
13 exit 0