diff --git a/metadata/org.atai.TessUI.txt b/metadata/org.atai.TessUI.txt index 81212f1542..ed1eab84cc 100644 --- a/metadata/org.atai.TessUI.txt +++ b/metadata/org.atai.TessUI.txt @@ -16,12 +16,13 @@ Repo Type:git Repo:https://git.gitorious.org/character-recognition/character-recognition.git Build:0.3.6,12 - disable=missing license, check scanignore commit=c8e9ff5790fc4b5f673ccdf761e4b4a1639ce3cb subdir=TessUI submodules=yes - scanignore=ImageViewer/bin/,tesseract-android-tools - prebuild=pushd ../tesseract-android-tools && \ + scanignore=tesseract-android-tools/obj,tesseract-android-tools/libs,tesseract-android-tools-test/obj + prebuild=rm -fR ../ImageViewer/bin/* && rm -fR tesseract-android-tools-test/obj/* && \ + pushd ../tesseract-android-tools && \ + rm -fR obj/* bin/* libs/* tesseract-android-tools-test && \ ndk-build -j8 && \ android update project --path . && \ ant release && \