| verzia 1.9, 2002/09/15 20:09:52 |
verzia 1.10, 2002/10/07 14:39:14 |
| Riadok 6 echo "This script is for maintainers onl |
|
| Riadok 6 echo "This script is for maintainers onl |
|
| echo "====================================" |
echo "====================================" |
| echo |
echo |
| |
|
| |
here="`pwd`" |
| |
path_to_configure=`echo "$0" | sed 's%/[^/]*$%%g;'` |
| |
|
| |
if [ "X$path_to_configure" != "X." ]; then |
| |
echo |
| |
echo "Warning: You have called 'rebuild' from another directory." |
| |
echo " Whole library will be builded here" |
| |
echo |
| |
fi |
| |
|
| export CFLAGS="-Wall -O2" |
export CFLAGS="-Wall -O2" |
| rm -f config.h configure config.cache aclocal.m4 config.log stamp-h* |
rm -f config.h configure config.cache aclocal.m4 config.log stamp-h* |
| rm -f Makefile src/Makefile doc/Makefile |
rm -f Makefile src/Makefile doc/Makefile |
| Riadok 15 rm -f lib*.so lib*.a *.o |
|
| Riadok 25 rm -f lib*.so lib*.a *.o |
|
| rm -rf doc/html/ doc/doxygen/ |
rm -rf doc/html/ doc/doxygen/ |
| rm -rf doc/man/*.3 doc/man/*.3.gz doc/man/*.sgml doc/man/libcfg+.man doc/man/manpage.* |
rm -rf doc/man/*.3 doc/man/*.3.gz doc/man/*.sgml doc/man/libcfg+.man doc/man/manpage.* |
| |
|
| echo running autoheader && autoheader && \ |
echo "running autoheader" \ |
| echo running aclocal && aclocal && \ |
&& cd "$path_to_configure" \ |
| echo running autoconf && autoconf && \ |
&& autoheader \ |
| echo running ./configure && \ |
&& echo running aclocal \ |
| ./configure $* && \ |
&& aclocal \ |
| make clean && \ |
&& echo running autoconf \ |
| make && \ |
&& autoconf \ |
| make documentation |
&& cd "$here" \ |
| |
&& echo "running $path_to_configure/configure" \ |
| |
&& $path_to_configure/configure $* \ |
| |
&& make clean \ |
| |
&& make \ |
| |
&& make documentation |
| |
|
| echo |
echo |
| echo "====================================" |
echo "====================================" |