gambas-source-code/build-dist
Laurent Carlier 9c40bbac3f [CONFIGURATION]
* 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
2009-12-26 21:30:35 +00:00

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