Makefile.am 894 字节
Newer Older
J
joregan@gmail.com 已提交
1
ACLOCAL_AMFLAGS = -I m4
2 3 4 5 6 7
SUBDIRS = ccutil viewer cutil image ccstruct dict classify wordrec neural_networks/runtime textord cube ccmain api . java tessdata testing doc
# training subdir can not be build with -fvisibility at the moment
if !VISIBILITY
SUBDIRS += training
endif

8 9 10 11
#if USING_GETTEXT
#SUBDIRS += po
#AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
#endif
T
tmbdev 已提交
12

J
joregan@gmail.com 已提交
13
EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes \
14
      aclocal.m4 config configure.ac autogen.sh tesseract.spec contrib
15

T
tmbdev 已提交
16 17
#EXTRA_DIST = doc/html doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.pdf doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.ps.gz

18 19 20
uninstall:
	rm -rf $(DESTDIR)$(includedir)

T
tmbdev 已提交
21
dist-hook:
22
# Need to remove .svn directories from directories
T
tmbdev 已提交
23 24
# added using EXTRA_DIST. $(distdir)/tessdata would in
# theory suffice.
25 26
	rm -rf `find $(distdir) -name .svn`
	rm -rf `find $(distdir) -name .deps`
27
	rm -rf `find $(distdir) -name Makefile.in`