OSSP CVS Repository

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

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

%autogen
    @autogen shtool   2.0.6  "2.0.*" all
    @autogen libtool  1.5.22 "1.5*"
    @autogen autoconf 2.61   "2.6[0-9]*"

%autoclean
    @autoclean shtool
    @autoclean libtool
    @autoclean autoconf

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

%version
    ./shtool version -l c -n "OSSP mm" -p mm_ -e mm_vers.c
    V=`./shtool version -l c -d long mm_vers.c`
    sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
    mv README.n README

%dist
    echo "+++ generating"
    ./devtool autoclean
    ./devtool autogen
    echo "+++ configuring"
    ./configure
    echo "+++ building"
    make clean all man
    echo "+++ cleaning"
    make distclean
    echo "+++ fixing"
    ./shtool fixperm -v .
    echo "+++ rolling"
    V=`./shtool version -l c -d short mm_vers.c`
    ./shtool tarball -o mm-${V}.tar.gz -d mm-${V} -u ossp -g ossp \
                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz' -c 'gzip --best' .
    ls -l mm-${V}.tar.gz
    echo "+++ testing"
    gunzip <mm-${V}.tar.gz | tar tvf -

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


CVSTrac 2.0.1