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
|
2010-07-19 09:59:13 +08:00
|
|
|
SUBDIRS = po ccstruct ccutil classify cutil dict image textord viewer wordrec ccmain training tessdata testing java api
|
|
|
|
AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
|
2007-03-08 04:03:40 +08:00
|
|
|
|
2010-07-19 09:59:13 +08:00
|
|
|
EXTRA_DIST = config/config.rpath eurotext.tif phototest.tif ReleaseNotes \
|
2009-07-11 11:05:57 +08:00
|
|
|
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`
|