## ## devtool.conf -- Development Tool Configuration ## %autogen @autogen shtool 1.6.2 "1.6.*" echo version scpp mkdir install fixperm tarball @autogen libtool 1.4.3 "1.4*" @autogen autoconf 2.54 "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 \ "$@" %version ./shtool version -lc -n 'GNU Pth' -p pth_internal_ -e pth_vers.c %dist rm -f pth-*.tar.gz ./devtool autoclean ./devtool autogen ./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