## ## 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 libtool @autoclean autoconf %configure ./configure \ --prefix=/tmp/snmpdx \ "$@" %release ./devtool version ./devtool tag ./devtool dist ./devtool upload %version ./shtool version -lperl -n "OSSP snmpdx" -p "snmpdx_" -e VERSION V=`./shtool version -lperl -dlong VERSION` for i in AUTHORS ChangeLog INSTALL README THANKS; do sed -e "s/ Version .*/ Version $V/g" <$i >$i.n && mv $i.n $i done %tag V=`./shtool version -lc -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 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' . ls -l snmpdx-${V}.tar.gz echo "+++ testing" gunzip