## ## devtool.conf -- Development Tool Configuration ## %autogen @autogen shtool 2.0.6 "2.0.*" echo version scpp mkdir install fixperm tarball @autogen libtool 1.5.22 "1.5*" @autogen autoconf 2.59 "2.5*" %autoclean @autoclean shtool @autoclean libtool @autoclean autoconf %configure if [ $# -gt 0 ]; then param="$1" shift else param=devel fi ./configure \ --cache-file=config.cache \ --with-param=$param \ "$@" %install ./devtool autoclean ./devtool autogen ./devtool configure install make clean make all make install %version ./shtool version -lc -n 'GNU Pth' -p pth_internal_ -e pth_vers.c V=`./shtool version -lc -dlong pth_vers.c` sed -e "s/Version .*/Version $V/g" README.n mv README.n README %dist rm -f pth-*.tar.gz ./devtool autoclean ./devtool autogen ./devtool configure make clean all make distclean ./shtool fixperm -v . V=`./shtool version -lc -d short pth_vers.c` ./shtool tarball -o pth-${V}.tar.gz -d pth-${V} -u gnu -g pth \ -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*' -c 'gzip --best' . ls -l pth-${V}.tar.gz gunzip Makefile.new gcc -MM -I. *.c |\ perl -e 'my $d = ""; $d .= $_ while (); $_ = $d; \ s/^(pth_.*)\.o:/$1.lo:/mg; \ s|\\\n\s*| |sg; s|\b?\S*/\S*\b?||g; s|\s{2,}| |g; \ print $_;' >> Makefile.new cp Makefile.new Makefile.in rm -f Makefile.new