2 if test ! -f IDMETA; then
3 echo "IDMETA is not in current directory"
7 if test -n "$NAME"; then
10 DEBCHANGELOG=debian/changelog
11 if test ! -f $DEBCHANGELOG; then
12 echo "$DEBCHANGELOG missing"
13 echo "The current directory should be base source of package"
16 l=`head -1 $DEBCHANGELOG`
17 PRODUCT=`echo $l|sed 's/ .*//g'`
19 TAR=${PRODUCT}-${VERSION}.tar.gz
21 if test ! -f ${TAR}; then
22 echo "$0: ${TAR} missing"
26 if test -f Doxyfile; then
29 (cd doc && make ${PRODUCT}.pdf index.html)
31 scp ${TAR} ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/
32 tar cz --exclude=.git -f - dox doc|ssh website "cd /var/www/software/${PRODUCT}; tar x --overwrite -z -f -"