1# TODO(luc) Add 'doc' to this list when ready 2SUBDIRS = ccstruct ccutil classify cutil dict image textord viewer wordrec ccmain training tessdata testing java api 3 4EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes \ 5 acinclude.m4 config configure.ac runautoconf tesseract.spec 6 7#EXTRA_DIST = doc/html doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.pdf doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.ps.gz 8 9dist-hook: 10# Need to remove CVS directories from directories 11# added using EXTRA_DIST. $(distdir)/tessdata would in 12# theory suffice. 13 rm -rf `find $(distdir) -name CVS` 14 rm -rf `find $(distdir) -name .svn` 15 rm -rf `find $(distdir) -name .deps` 16# Also remove extra files not needed in a distribution 17 rm -rf `find $(distdir) -name configure.ac` 18 rm -rf `find $(distdir) -name acinclude.m4` 19 rm -rf `find $(distdir) -name aclocal.m4` 20