cb17f588aa
* BUG: Add symlink support for ltmain.sh in build-dist script. git-svn-id: svn://localhost/gambas/trunk@2529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
34 lines
485 B
Bash
Executable file
34 lines
485 B
Bash
Executable file
#!/bin/sh
|
|
|
|
dirs="gb.* app comp examples main"
|
|
files="config.guess config.sub install-sh ltmain.sh"
|
|
|
|
#--reconf file--
|
|
rm -f config.cache
|
|
rm -f acconfig.cache
|
|
|
|
libtoolize --force --copy
|
|
autoreconf -v --install
|
|
#---------------
|
|
|
|
echo
|
|
echo Creating symlinks.....
|
|
echo
|
|
|
|
for subdirs in $dirs; do
|
|
echo Directory $subdirs
|
|
|
|
for cfiles in $files; do
|
|
rm -f $subdirs/$cfiles
|
|
ln -s $cfiles $subdirs/$cfiles
|
|
done
|
|
|
|
done
|
|
|
|
echo
|
|
echo Building dist file
|
|
echo
|
|
|
|
./configure
|
|
make dist-bzip2
|
|
|