2007-03-08 04:03:40 +08:00
|
|
|
# TODO(luc) Add 'doc' to this list when ready
|
2010-05-26 22:20:20 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2009-07-11 11:05:57 +08:00
|
|
|
SUBDIRS = ccstruct ccutil classify cutil dict image textord viewer wordrec ccmain training tessdata testing java api
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2009-07-11 11:05:57 +08:00
|
|
|
EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes \
|
|
|
|
acinclude.m4 config configure.ac runautoconf tesseract.spec
|
2007-05-17 09:52:36 +08:00
|
|
|
|
2007-03-08 04:03:40 +08:00
|
|
|
#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.
|
2008-04-22 22:49:14 +08:00
|
|
|
rm -rf `find $(distdir) -name CVS`
|
|
|
|
rm -rf `find $(distdir) -name .svn`
|
|
|
|
rm -rf `find $(distdir) -name .deps`
|
2007-03-08 04:03:40 +08:00
|
|
|
# Also remove extra files not needed in a distribution
|
2008-04-22 22:49:14 +08:00
|
|
|
rm -rf `find $(distdir) -name configure.ac`
|
|
|
|
rm -rf `find $(distdir) -name acinclude.m4`
|
|
|
|
rm -rf `find $(distdir) -name aclocal.m4`
|