## ## devtool.conf -- Development Tool Configuration ## %autogen @autogen shtool 1.6.2 "1.6.*" all @autogen autoconf 2.57 "2.5[4-9]*" %autoclean @autoclean shtool @autoclean autoconf %configure ./configure \ --prefix=/tmp/snmpdx \ --with-perl=/cw/bin/perl \ --with-snmp=/cw \ "$@" %release ./devtool version ./devtool tag ./devtool dist ./devtool upload %version ./shtool version -ltxt -n "OSSP snmpdx" -p "snmpdx_" -e VERSION V=`./shtool version -ltxt -dlong VERSION` sed -e "s/ Version .*/ Version $V/g" README.n && mv README.n README %tag V=`./shtool version -ltxt -dshort VERSION | sed -e 's;\.;_;g'` echo "+++ tagging CVS sources as SNMPDX_${V}" cvs commit -m 'flush pending changes before tagging' cvs tag SNMPDX_${V} %dist echo "+++ removing old tarballs" rm -f snmpdx-*.tar.gz echo "+++ generating" ./devtool autoclean ./devtool autogen echo "+++ configuring" ./devtool configure echo "+++ building" make clean all man echo "+++ cleaning" make distclean echo "+++ fixing" ./shtool fixperm -v . echo "+++ rolling" V=`./shtool version -lc -dshort VERSION` ./shtool tarball -o snmpdx-${V}.tar.gz -d snmpdx-${V} -u ossp -g ossp \ -e '00*,CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' . ls -l snmpdx-${V}.tar.gz echo "+++ testing" gunzip