| #tests that dist works |
#tests that dist works |
| #call this with gforth-$(version).tar.gz in the working directory |
#call this with gforth-$(version).tar.gz in the working directory |
| GFORTH=gforth-0.2.0 |
#use this if your make cannot handle VPATH |
| mkdir test |
GFORTH=gforth-0.3.1 |
| cd test |
mkdir test-dist |
| |
cd test-dist |
| DIR=$PWD |
DIR=$PWD |
| gunzip -cd ../$GFORTH.tar.gz|tar xf - |
gunzip -cd ../$GFORTH.tar.gz|tar xf - |
| cd $GFORTH |
cd $GFORTH |
| cd .. |
cd .. |
| install/bin/gforth tester.fs coretest.fs postponetest.fs dbltest.fs -e bye |
install/bin/gforth tester.fs coretest.fs postponetest.fs dbltest.fs -e bye |
| cd .. |
cd .. |
| rm -rf test |
rm -rf test-dist |