hstr/dist/1-dist.sh

30 lines
563 B
Bash
Raw Normal View History

2013-12-26 08:05:38 +08:00
#!/bin/bash
export AUTOMAKE_LIB=`automake --print-libdir`
2013-12-26 08:05:38 +08:00
./clean.sh
cd ..
aclocal
automake --force-missing --add-missing
autoconf
rm -rvf autom*te.cache
if [ -d ${AUTOMAKE_LIB} ]
then
rm -vf compile depcomp install-sh missing
cp -vf ${AUTOMAKE_LIB}/compile .
cp -vf ${AUTOMAKE_LIB}/depcomp .
cp -vf ${AUTOMAKE_LIB}/install-sh .
cp -vf ${AUTOMAKE_LIB}/missing .
else
echo "****************************************************************"
echo "Error: automake ${AUTOMAKE_LIB} not found - exiting!"
exit 1
fi
2013-12-26 08:05:38 +08:00
cd dist
2013-12-26 08:05:38 +08:00
# eof