OSSP CVS Repository

ossp - ossp-pkg/al/devtool.conf 1.9
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/al/devtool.conf 1.9
##
##  devtool.conf -- Development Tool Configuration
##

%autogen
    @autogen shtool   2.0.3  "1.6.*" all
    @autogen libtool  1.5.20 "1.5*"
    @autogen autoconf 2.59   "2.5[3-9]*"

%autoclean
    @autoclean shtool
    @autoclean libtool
    @autoclean autoconf

%configure
    ./configure \
        --prefix=/tmp/al \
        --disable-shared \
        --enable-debug \
        "$@"

%version
    ./shtool version -l txt -n "OSSP al" -e VERSION
    V=`./shtool version -l txt -d long VERSION`
    sed -e "s/Version .*/Version $V/g" <README >README.n
    mv README.n README

%dist
    rm -f al-*.tar.gz
    ./devtool autoclean
    ./devtool autogen
    ./devtool configure
    make clean all man
    make distclean
    ./shtool fixperm -v .
    V=`./shtool version -l txt -d short VERSION`
    ./shtool tarball -o al-${V}.tar.gz -d al-${V} -u ossp -g al \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
    ls -l al-${V}.tar.gz
    gunzip <al-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
    gunzip <al-${V}.tar.gz | tar tvf - | tail -10

%snap
    rm -f al-*.tar.gz
    ./devtool autoclean
    ./devtool autogen
    ./configure
    make clean all man
    make distclean
    ./shtool fixperm -v .
    D=`date '+%Y%m%d'`
    ./shtool tarball -o al-SNAP-${D}.tar.gz -d al-SNAP-${D} -u ossp -g al \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' .
    ls -l al-SNAP-${D}.tar.gz
    gunzip <al-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
    gunzip <al-SNAP-${D}.tar.gz | tar tvf - | tail -10

%upload
    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/al/"
    scp al-*.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/al/


CVSTrac 2.0.1