19 lines
229 B
Plaintext
Executable File
19 lines
229 B
Plaintext
Executable File
set -x
|
|
|
|
LIB=$1
|
|
DIR=$2
|
|
|
|
WHERE=`dirname "$0"`
|
|
|
|
rm -f $LIB
|
|
rm -rf $LIB*/
|
|
|
|
for f in *.tar.*; do tar xf $f; done
|
|
for f in *.tgz; do tar xf $f; done
|
|
|
|
ln -s $LIB*/ $LIB
|
|
|
|
rm -f $LIB/Makefile
|
|
ln -s $WHERE/Makefile-template $LIB/Makefile
|
|
|