OSSP CVS Repository

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

ossp-pkg/xds/devtool.conf
##
##  devtool.conf -- Development Tool Configuration
##

%autogen
    @autogen shtool   2.0.3  "2.0.*" 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/xds \
        --disable-shared \
        --enable-maintainer \
        --enable-debug \
        "$@"

%version
    shtool version -l c -n "OSSP xds" -p "xds_" -e xds_version.c
    V=`shtool version -l c -d long xds_version.c`
    sed -e "s/Version .*/Version $V/g" <README >README.n 
    mv README.n README

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

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

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


CVSTrac 2.0.1