2001-04-09 20:54:03 +01:00
|
|
|
#/bin/bash
|
|
|
|
# Guess what: this code works for me!
|
|
|
|
|
2007-11-01 20:50:31 +00:00
|
|
|
version="Yap-5.1.3"
|
2001-04-09 20:54:03 +01:00
|
|
|
splat
|
|
|
|
cd C
|
|
|
|
splat
|
|
|
|
cd ../H
|
|
|
|
splat
|
2005-09-08 22:59:58 +01:00
|
|
|
cd ../BEAM
|
|
|
|
splat
|
2001-04-09 20:54:03 +01:00
|
|
|
cd ../OPTYap
|
|
|
|
splat
|
|
|
|
cd ../VC
|
|
|
|
splat
|
2002-06-01 05:29:01 +01:00
|
|
|
cd ../LGPL
|
|
|
|
splat
|
2005-10-28 18:57:25 +01:00
|
|
|
cd chr
|
|
|
|
splat
|
|
|
|
cd ../clpr
|
|
|
|
splat
|
|
|
|
cd ../clp
|
|
|
|
splat
|
2005-10-29 02:28:37 +01:00
|
|
|
cd ../JPL
|
2004-09-27 21:45:04 +01:00
|
|
|
splat
|
|
|
|
cd src
|
|
|
|
splat
|
|
|
|
cd ../java
|
|
|
|
splat
|
|
|
|
cd jpl
|
|
|
|
splat
|
|
|
|
cd fli
|
|
|
|
splat
|
|
|
|
cd ../../../../pillow
|
2002-06-01 05:29:01 +01:00
|
|
|
splat
|
|
|
|
cd examples
|
|
|
|
splat
|
2002-06-03 17:15:14 +01:00
|
|
|
cd ../../../include
|
2001-04-09 20:54:03 +01:00
|
|
|
splat
|
2006-11-27 17:42:03 +00:00
|
|
|
cd ../CLPBN
|
|
|
|
splat
|
|
|
|
cd clpbn
|
|
|
|
splat
|
|
|
|
cd examples
|
|
|
|
splat
|
|
|
|
cd School
|
|
|
|
splat
|
|
|
|
cd ../mn
|
|
|
|
splat
|
|
|
|
cd ../HMMer
|
|
|
|
splat
|
|
|
|
cd ../../../learning
|
|
|
|
splat
|
|
|
|
cd aleph_model
|
|
|
|
splat
|
|
|
|
cd ../nbayes
|
|
|
|
splat
|
|
|
|
cd ../utils
|
|
|
|
splat
|
2004-09-27 21:45:04 +01:00
|
|
|
#/bin/cp config.h config.h.mine
|
|
|
|
#/bin/cp ../../../bins/cyg/*.h .
|
|
|
|
#/bin/mv config.h.mine config.h
|
2006-11-27 17:42:03 +00:00
|
|
|
cd ../../../console
|
2001-04-09 20:54:03 +01:00
|
|
|
splat
|
|
|
|
cd ../docs
|
|
|
|
splat
|
|
|
|
cd ../include
|
|
|
|
splat
|
|
|
|
cd ../library
|
|
|
|
splat
|
|
|
|
cd regex
|
|
|
|
splat
|
2007-06-29 02:33:35 +01:00
|
|
|
cd ../system
|
|
|
|
splat
|
|
|
|
cd ../lammpi
|
|
|
|
splat
|
|
|
|
cd ../Tries
|
|
|
|
splat
|
|
|
|
cd ../mpi
|
|
|
|
splat
|
|
|
|
cd examples
|
|
|
|
splat
|
|
|
|
cd ../../tries
|
|
|
|
splat
|
|
|
|
cd ../matlab
|
|
|
|
splat
|
2002-06-05 00:50:50 +01:00
|
|
|
cd ../yap2swi
|
|
|
|
splat
|
2005-08-22 14:49:27 +01:00
|
|
|
cd ../../misc
|
2001-04-09 20:54:03 +01:00
|
|
|
splat
|
|
|
|
cd ../pl
|
|
|
|
splat
|
|
|
|
cd ../CLPQR
|
|
|
|
splat
|
2001-07-17 19:51:50 +01:00
|
|
|
cd clpq
|
2001-04-09 20:54:03 +01:00
|
|
|
splat
|
2001-07-17 19:51:50 +01:00
|
|
|
cd ../clpqr
|
|
|
|
splat
|
|
|
|
cd examples
|
|
|
|
splat
|
|
|
|
cd SESSION
|
|
|
|
splat
|
|
|
|
cd ../monash
|
|
|
|
splat
|
|
|
|
cd ../../../clpr
|
|
|
|
splat
|
|
|
|
cd ../../CHR
|
|
|
|
splat
|
|
|
|
cd chr
|
|
|
|
splat
|
2004-09-27 21:45:04 +01:00
|
|
|
cd ../../CLPBN
|
|
|
|
splat
|
|
|
|
cd clpbn
|
|
|
|
splat
|
2001-07-17 19:51:50 +01:00
|
|
|
cd examples
|
|
|
|
splat
|
2007-06-29 02:33:35 +01:00
|
|
|
cd ../../learning
|
|
|
|
splat
|
|
|
|
cd ../../..
|
2001-04-09 20:54:03 +01:00
|
|
|
if test "$1" = "--small"; then
|
2007-06-29 02:33:35 +01:00
|
|
|
tar cvzf "$version"-small.tar.gz --exclude=CVS "$version"/{Artistic,COPYING,INSTALL,README*,changes*,config*,install-sh,Makefile.in,.depend.in,distribute,C,H,VC,console,docs/*.tex,include,library,misc,pl,LGPL/README,LGPL/pillow/[C-Z]*,LGPL/pillow/*.pl,LGPL/pillow/doc/*info*,LGPL/JPL/jpl.yap,LGPL/JPL/jpl_paths.yap.in,LGPL/JPL/Makefile.in,LGPL/JPL/java,LGPL/JPL/src,build-distr,OPTYap,BEAM,MYDDAS,LGPL/clpr,LGPL/chr,LGPL/clp,CLPBN} --exclude=CLPBN/clpbn/backup --exclude=CLPBN/clpbn/devel --exclude=CLPBN/test
|
2001-04-09 20:54:03 +01:00
|
|
|
else
|
2007-06-29 02:33:35 +01:00
|
|
|
tar cvzf "$version".tar.gz --exclude=CVS "$version"/{Artistic,COPYING,INSTALL,README*,changes*,config*,install-sh,Makefile.in,.depend.in,distribute,C,H,VC,console,docs,include,library,misc,pl,LGPL/README,LGPL/pillow/[C-Z]*,LGPL/pillow/*.pl,LGPL/pillow/doc/*info*,LGPL/JPL/jpl.yap,LGPL/JPL/jpl_paths.yap.in,LGPL/JPL/Makefile.in,LGPL/JPL/java,LGPL/JPL/src,build-distr,build-distr,OPTYap,BEAM,MYDDAS,LGPL/clpr,LGPL/chr,LGPL/clp,CLPBN,Logtalk} --exclude=CLPBN/clpbn/backup --exclude=CLPBN/clpbn/devel --exclude=docs/index --exclude=CLPBN/test
|
2001-04-09 20:54:03 +01:00
|
|
|
fi
|