1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/bin/bash
set -x
CPUS=`grep ^processor /proc/cpuinfo | wc -l`
echo CPUS=$CPUS
automake --add-missing -c
autoreconf
automake --add-missing -c
./configure
make -j$CPUS
#rm -f config.log config.cache config.h
#aclocal
#automake --add-missing
#automake -c -a
#automake doc/Makefile
#automake intl/Makefile
#automake pkg/Makefile
#automake src/Makefile
#automake win32/Makefile
#dirs=`grep ^SUBDIRS Makefile.am|sed 's/.*=//'`
#for dir in $dirs; do
# echo automake $dir/Makefile
# automake $dir/Makefile
#done
#
#autoconf && ./configure && make clean && make -j$CPUS
|