9c40bbac3f
* BUG: Add --install glag to autoreconf, that fix creation of config files, also add build-dist script to create a lighter tar.bz2 archive of the repository. git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
35 lines
475 B
Bash
Executable File
35 lines
475 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dirs="gb.* app comp examples main"
|
|
files="config.guess config.sub install-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 $subdirs/$cfiles
|
|
ln -fs $cfiles $subdirs/$cfiles
|
|
done
|
|
|
|
done
|
|
|
|
echo
|
|
echo Building dist file
|
|
echo
|
|
|
|
./configure
|
|
make dist-bzip2
|
|
|