Diff for /loncom/homework/caparesponse/commands between versions 1.12 and 1.15

version 1.12, 2002/05/04 17:57:01 version 1.15, 2015/04/05 16:47:27
Line 42  make ARCH=LONCAPA libcapa Line 42  make ARCH=LONCAPA libcapa
 cd $path  cd $path
 cp $CAPADIR/pProj/LONCAPA/*.o capaFunctions  cp $CAPADIR/pProj/LONCAPA/*.o capaFunctions
 swig -perl5 capa.i   swig -perl5 capa.i 
   dist=`perl ../../build/distprobe`
   if [[ $dist == "redhat8" || $dist == "redhat9" ]] 
   then
    cat capa_wrap.c | perl -pe '$_=~s-SWIGEXPORT\(void,boot_capa\)\(CV\* cv\)\;-SWIGEXPORT\(void,boot_capa\)\(pTHX_ CV\* cv\)\;-;' > capa_wrap.c.new
    mv capa_wrap.c.new capa_wrap.c
   fi
 cp Makefile.PL Makefile.pl  cp Makefile.PL Makefile.pl
 perl Makefile.PL   perl Makefile.PL 
 make -f Makefile   make -f Makefile 
 cp blib/arch/auto/capa/capa.so .   cp blib/arch/auto/capa/capa.so . 
 perl capa.pm       perl capa.pm
   swigver=`swig -version | perl -ne 'print $1 if /SWIG Version (\d+)\./i'`
   if [[ $swigver > 2 ]]
   then
    echo -n "" > capa.bs
   fi

Removed from v.1.12  
changed lines
  Added in v.1.15


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