devtool.conf

Fri, 28 Nov 2008 14:20:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 28 Nov 2008 14:20:00 +0100
changeset 2
e8292658d5b3
child 3
c1941114ca88
permissions
-rw-r--r--

Added tag ASGUI_0.7.7 for changeset d64aaa7d146f

     1 ##
     2 ##  devtool.conf -- Development Tool Configuration
     3 ##
     5 %autogen
     6     @autogen shtool   2.0.0 "2.0.*" echo fixperm install mkdir tarball version
     7     @autogen autoconf 2.59  "2.5[3-9]*"
     9 %autoclean
    10     @autoclean shtool
    11     @autoclean autoconf
    13 %configure
    14     ./configure \
    15         --prefix=/tmp/as_gui/ \
    16         --datadir=/tmp/as_gui/share/ \
    17         --with-mico \
    18         --with-esoap \
    19         "$@"
    21 %release
    22     ./devtool dist
    23     ./devtool upload
    25 %version
    26     ./shtool version -l c -n "OSSP as-gui" -p "asgui_" -e as_version.cpp
    27     V=`./shtool version -l c -d long as_version.cpp`
    28     sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
    29     mv README.n README
    31 %tag
    32     V=`./shtool version -l c -d short as_version.cpp | sed -e 's;\.;_;g'`
    33     echo "+++ tagging CVS sources as ASGUI_${V}"
    34     cvs tag ASGUI_${V}
    36 %dist
    37     echo "+++ cleaning"
    38     rm -f as-gui-*.tar.gz
    39     ./devtool autoclean
    40     echo "+++ generating"
    41     ./devtool autogen
    42     echo "+++ configuring"
    43     ./devtool configure
    44     echo "+++ building"
    45     make clean all -j4
    46     echo "+++ cleaning"
    47     make distclean >/dev/null 2>&1
    48     echo "+++ fixing"
    49     ./shtool fixperm -v .
    50     echo "+++ rolling"
    51     V=`./shtool version -l c -d short as_version.cpp`
    52     ./shtool tarball -o as-gui-${V}.tar.gz -d as-gui-${V} \
    53                      -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak' \
    54                      -e 'autom4te\.cache,as_stub.cpp,as_stub.h,as_scrap,as_gfx/*.png' \
    55                      -c 'gzip --best' .
    56     ls -l as-gui-${V}.tar.gz
    57     echo "+++ testing"
    58     gunzip <as-gui-${V}.tar.gz | tar tvf - | head -10
    59     echo "[...]"
    60     gunzip <as-gui-${V}.tar.gz | tar tvf - | tail -10
    62 %upload
    63     echo "+++ copying to http://as.is.eu.cw.com/source/"
    64     V=`./shtool version -l c -d short as_version.cpp`
    65     scp as-gui-${V}.tar.gz root@as.de.cw.net:/v/as/web/source/

mercurial