mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Update autogen.sh
The m4 directory must not be removed as it contains files which are distributed with the source code. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
d14bca4f19
commit
6d32de484a
@ -40,8 +40,7 @@
|
|||||||
if [ "$1" = "clean" ]; then
|
if [ "$1" = "clean" ]; then
|
||||||
echo "Cleaning..."
|
echo "Cleaning..."
|
||||||
rm configure aclocal.m4
|
rm configure aclocal.m4
|
||||||
rm m4/*
|
rm m4/l*
|
||||||
rmdir m4
|
|
||||||
rm config/*
|
rm config/*
|
||||||
rmdir config
|
rmdir config
|
||||||
find . -iname "Makefile.in" -type f -exec rm '{}' +
|
find . -iname "Makefile.in" -type f -exec rm '{}' +
|
||||||
@ -60,11 +59,6 @@ else
|
|||||||
bail_out
|
bail_out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# create m4 directory if it does not exist
|
|
||||||
if [ ! -d m4 ]; then
|
|
||||||
mkdir m4
|
|
||||||
fi
|
|
||||||
|
|
||||||
bail_out()
|
bail_out()
|
||||||
{
|
{
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user