mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-21 00:20:45 +08:00
4523ce9f7d
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@526 d0cd1f9f-072b-0410-8dd7-cf729c803f20
25 lines
997 B
Makefile
25 lines
997 B
Makefile
# TODO(luc) Add 'doc' to this list when ready
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
SUBDIRS = ccstruct ccutil classify cube cutil dict image neural_networks/runtime textord viewer wordrec ccmain training tessdata testing java api
|
|
#if USING_GETTEXT
|
|
#SUBDIRS += po
|
|
#AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
|
|
#endif
|
|
|
|
EXTRA_DIST = config/config.rpath eurotext.tif phototest.tif ReleaseNotes \
|
|
acinclude.m4 config configure.ac runautoconf tesseract.spec doc contrib
|
|
|
|
#EXTRA_DIST = doc/html doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.pdf doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.ps.gz
|
|
|
|
dist-hook:
|
|
# Need to remove CVS directories from directories
|
|
# added using EXTRA_DIST. $(distdir)/tessdata would in
|
|
# theory suffice.
|
|
rm -rf `find $(distdir) -name CVS`
|
|
rm -rf `find $(distdir) -name .svn`
|
|
rm -rf `find $(distdir) -name .deps`
|
|
# Also remove extra files not needed in a distribution
|
|
rm -rf `find $(distdir) -name configure.ac`
|
|
rm -rf `find $(distdir) -name acinclude.m4`
|
|
rm -rf `find $(distdir) -name aclocal.m4`
|