Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, September 19, 2019

File: [Platon] / libcfg+ / rebuild (download)

Revision 1.11, Mon Jan 5 12:00:43 2004 UTC (15 years, 8 months ago) by nepto


Changes since 1.10: +0 -1 lines

Fixed all issues aroung CFLAGS.
Added default CFLAGS into configure.in file.
Some others unneccessary checks was removed.

#!/bin/sh

echo
echo "===================================="
echo "This script is for maintainers only!"
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

rm -f  config.h configure config.cache aclocal.m4 config.log stamp-h*
rm -f  Makefile src/Makefile doc/Makefile
rm -rf .deps/ src/.deps/
rm -f  doc/Doxyfile
rm -f  lib*.so lib*.a *.o
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.*

   echo "running autoheader" \
&& cd "$path_to_configure" \
&& autoheader \
&& echo running aclocal \
&& aclocal \
&& echo running autoconf \
&& autoconf \
&& cd "$here" \
&& echo "running $path_to_configure/configure" \
&& $path_to_configure/configure $* \
&& make clean \
&& make \
&& make documentation

echo
echo "===================================="
echo "This script is for maintainers only!"
echo "===================================="
echo


Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top