From aeba7a7aceed65901527288f3a0a05f50f6ea094 Mon Sep 17 00:00:00 2001 From: zdenop Date: Sun, 12 Jan 2014 21:38:11 +0000 Subject: [PATCH] amend r:983 git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@985 d0cd1f9f-072b-0410-8dd7-cf729c803f20 --- autogen.sh | 10 ++++++++++ ccstruct/Makefile.am | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index edc3b0b5..f6e453d0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -27,6 +27,16 @@ # # All the rest is auto-generated. +if [ $1 == "clean" ]; then + echo "Cleaning..." + rm configure aclocal.m4 + rm m4/* + rmdir m4 + rm config/* + rmdir config + find . -iname "Makefile.in" -type f -exec rm '{}' + +fi + # create m4 directory if it not exists if [ ! -d m4 ]; then mkdir m4 diff --git a/ccstruct/Makefile.am b/ccstruct/Makefile.am index d41efbb9..722a5850 100644 --- a/ccstruct/Makefile.am +++ b/ccstruct/Makefile.am @@ -41,6 +41,6 @@ libtesseract_ccstruct_la_SOURCES = \ ocrblock.cpp ocrpara.cpp ocrrow.cpp otsuthr.cpp \ pageres.cpp pdblock.cpp points.cpp polyaprx.cpp polyblk.cpp \ params_training_featdef.cpp publictypes.cpp \ - quadlsq.cpp quadratc.cpp quspline.cpp ratngs.cpp rect.cpp rejctmap.cpp \ + quadlsq.cpp quspline.cpp ratngs.cpp rect.cpp rejctmap.cpp \ seam.cpp split.cpp statistc.cpp stepblob.cpp \ vecfuncs.cpp werd.cpp