Skip to content

Commit 267734b

Browse files
authored
Changes needed for adding make check for unittest
1 parent f3dc156 commit 267734b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ endif
2020
.PHONY: install-langs ScrollView.jar install-jars training
2121

2222
SUBDIRS = arch ccutil viewer cutil opencl ccstruct dict classify wordrec textord lstm
23-
SUBDIRS += ccmain api . tessdata doc
23+
SUBDIRS += ccmain api . tessdata doc unittest
2424

2525
EXTRA_DIST = README.md\
2626
aclocal.m4 config configure.ac autogen.sh contrib \

configure.ac

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ AC_SUBST([GENERIC_VERSION])
6666
# ----------------------------------------
6767

6868
# Do not require README file (we use README.md)
69-
AM_INIT_AUTOMAKE([foreign])
69+
AM_INIT_AUTOMAKE([foreign subdir-objects])
7070
AC_CONFIG_HEADERS([config_auto.h:config/config.h.in])
7171
AM_MAINTAINER_MODE
7272

@@ -501,6 +501,7 @@ AC_CONFIG_FILES([tessdata/Makefile])
501501
AC_CONFIG_FILES([tessdata/configs/Makefile])
502502
AC_CONFIG_FILES([tessdata/tessconfigs/Makefile])
503503
AC_CONFIG_FILES([testing/Makefile])
504+
AC_CONFIG_FILES([unittest/Makefile])
504505
AC_CONFIG_FILES([java/Makefile])
505506
AC_CONFIG_FILES([java/com/Makefile])
506507
AC_CONFIG_FILES([java/com/google/Makefile])

0 commit comments

Comments
 (0)