Annotation of OpenXM/src/kxx/makeBinary, Revision 1.1
1.1 ! maekawa 1: :
! 2: TYPE=$OSTYPE.$HOSTTYPE
! 3: GENDIR=../open-sm1-binary.$TYPE
! 4: GENDIR2=open-sm1-binary.$TYPE
! 5: TRASHDIR=Trash
! 6: WD=`pwd`
! 7: echo "Generating the binary distribution of open sm1 for $TYPE"
! 8:
! 9: /bin/rm -rf $GENDIR
! 10: mkdir $GENDIR
! 11:
! 12: tar cf - * | (cd $GENDIR ; tar xvf - )
! 13: cd $GENDIR
! 14: /bin/rm -rf $TRASHDIR
! 15: mkdir $TRASHDIR
! 16: make clean
! 17: mv -f client.class client.java ox-1.sm1 ox.a oxlog*.txt sample1.* startengines streamListener.class testclient*.c ox_asir ox_sm1 $TRASHDIR
! 18: mv -f Old Prog ox_asir.old xm $TRASHDIR
! 19: mv -f cmo1.txt memo1.txt noro.txt ex1.txt moushikomi.txt $TRASHDIR
! 20: mv -f Trash afo asirstack.tex junk.c showpage.ps $TRASHDIR
! 21: mv $TRASHDIR ../open-sm1-binary.Trash
! 22: /bin/rm -rf ../open-sm1-binary.Trash/Trash
! 23:
! 24: cd $WD
! 25: make
! 26: cp ox $GENDIR/ox.$TYPE
! 27: cp ox_sm1 $GENDIR/ox_sm1.$TYPE
! 28: cp oxlog $GENDIR/oxlog.$TYPE
! 29: cp xm $GENDIR
! 30:
! 31: ( cd .. ; tar czvf $GENDIR2.tar.gz $GENDIR2 )
! 32:
! 33:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>