| #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 |
| #use this if your make handles VPATH ok |
#use this if your make handles VPATH ok |
| GFORTH=gforth-0.3.0 |
GFORTH=gforth-0.3.1 |
| mkdir test |
mkdir test-dist |
| cd test |
cd test-dist |
| DIR=$PWD |
DIR=$PWD |
| gunzip -cd ../$GFORTH.tar.gz|tar xf - |
gunzip -cd ../$GFORTH.tar.gz|tar xf - |
| chmod -R a-w $GFORTH |
chmod -R a-w $GFORTH |
| 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 |
| chmod -R +w $GFORTH |
chmod -R +w $GFORTH |
| cd .. |
cd .. |
| rm -rf test |
rm -rf test-dist |