Diff for /loncom/homework/caparesponse/commands between versions 1.4 and 1.10

version 1.4, 2000/09/13 20:49:02 version 1.10, 2001/01/17 18:01:31
Line 1 Line 1
 set CAPADIR=~albertel/CAPA  CAPADIR=../../../CAPA
   
   if test -f /etc/redhat-release
   then
    if rpm -q swig
    then
    echo "Swig found.  Assuming it works..."
    else
    echo "ERROR ERROR: Swig must exist but doesn't!!!"
    echo "To get swig, go to"
    echo "http://install.lon-capa.org/3.1/SupplementalRPMS"
    echo "Install this RPM, swig-1.1p5-3.i386.rpm"
    exit 1
    fi
    if test -e /usr/include/asm
    then
    echo ""
    else
    ln -s /usr/src/linux/include/asm /usr/include/asm
    fi
    if test -e /usr/include/linux
    then
    echo ""
    else
    ln -s /usr/src/linux/include/linux /usr/include/linux
    fi
   fi
 make -f Makefile clean  make -f Makefile clean
 mkdir capaFunctions  mkdir capaFunctions
 cp $CAPADIR/pProj/Linux/*.o capaFunctions  path=`pwd`
   cd $CAPADIR/pProj
   make ARCH=LONCAPA libcapa
   cd $path
   cp $CAPADIR/pProj/LONCAPA/*.o capaFunctions
 swig -perl5 capa.i   swig -perl5 capa.i 
 cp Makefile.PL Makefile.pl  cp Makefile.PL Makefile.pl
 perl Makefile.PL   perl Makefile.PL 

Removed from v.1.4  
changed lines
  Added in v.1.10


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>