add training directory to 'make clean' and 'make distclean'

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1057 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop 2014-03-28 23:21:49 +00:00
parent 2367ba1f6e
commit 0ebcf0d99c

View File

@ -7,6 +7,8 @@ training:
@cd "$(top_builddir)/training" && $(MAKE)
training-install:
@cd "$(top_builddir)/training" && $(MAKE) install
clean-local:
@cd "$(top_builddir)/training" && $(MAKE) clean
else
training:
@echo "Need to reconfigure project, so there are no errors"
@ -20,7 +22,7 @@ EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes \
aclocal.m4 config configure.ac autogen.sh contrib \
tesseract.pc.in $(TRAINING_SUBDIR) java doc testing
DIST_SUBDIRS = $(SUBDIRS)
DIST_SUBDIRS = $(SUBDIRS) $(TRAINING_SUBDIR)
uninstall-hook:
rm -rf $(DESTDIR)$(includedir)