Makefile.am 906 字节
Newer Older
1
SUBDIRS = ccstruct ccutil classify cube cutil dict image neural_networks/runtime textord viewer wordrec ccmain training tessdata testing java api doc
2 3 4 5
#if USING_GETTEXT
#SUBDIRS += po
#AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
#endif
T
tmbdev 已提交
6

J
joregan@gmail.com 已提交
7
EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes \
T
theraysmith@gmail.com 已提交
8
      aclocal.m4 config configure.ac runautoconf tesseract.spec contrib
9

T
tmbdev 已提交
10 11 12 13 14 15
#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.
16 17 18
	rm -rf `find $(distdir) -name CVS`
	rm -rf `find $(distdir) -name .svn`
	rm -rf `find $(distdir) -name .deps`
T
tmbdev 已提交
19
# Also remove extra files not needed in a distribution
20
#	rm -rf `find $(distdir) -name configure.ac`
21
	rm -rf `find $(distdir) -name acinclude.m4`
22
#	rm -rf `find $(distdir) -name aclocal.m4`