6 # - 1.1.1: use the new sjar command to make sources
7 # - 1.1.0: allow multiple targets
8 # - 1.0.0: add a version comment
12 if [ "$1" = "" ]; then
13 echo "You need to specify where to export it" >&2
17 LIBNAME
="`cat configure.sh | grep '^echo "NAME
= ' | cut -d'"' -f2 | cut -d= -f2`"
18 LIBNAME
="`echo $LIBNAME`"
21 .
/configure.sh
&& make && make sjar
23 while [ "$1" != "" ]; do
25 cp "$LIBNAME"-`cat VERSION`-sources.jar
"$1"/libs
/
26 cp "$LIBNAME".jar
"$1"/libs
/