mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
install only necessary headers, fix uninstall
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@692 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
3b326532cc
commit
97e19443a3
@ -15,6 +15,9 @@ EXTRA_DIST = eurotext.tif phototest.tif ReleaseNotes \
|
||||
|
||||
#EXTRA_DIST = doc/html doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.pdf doc/@PACKAGE_NAME@_@PACKAGE_VERSION@.ps.gz
|
||||
|
||||
uninstall:
|
||||
rm -rf $(DESTDIR)$(includedir)
|
||||
|
||||
dist-hook:
|
||||
# Need to remove .svn directories from directories
|
||||
# added using EXTRA_DIST. $(distdir)/tessdata would in
|
||||
|
@ -9,8 +9,8 @@ if VISIBILITY
|
||||
AM_CPPFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
apitypes.h baseapi.h tesseractmain.h
|
||||
include_HEADERS = apitypes.h baseapi.h
|
||||
noinst_HEADERS = tesseractmain.h
|
||||
lib_LTLIBRARIES =
|
||||
|
||||
if !USING_MULTIPLELIBS
|
||||
|
@ -17,9 +17,9 @@
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#include "mfcpch.h"
|
||||
// #define USE_VLD //Uncomment for Visual Leak Detector.
|
||||
#if (defined _MSC_VER && defined USE_VLD)
|
||||
#include "mfcpch.h"
|
||||
#include <vld.h>
|
||||
#endif
|
||||
|
||||
|
@ -12,7 +12,8 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
include_HEADERS = thresholder.h
|
||||
noinst_HEADERS = \
|
||||
control.h cube_reco_context.h cubeclassifier.h \
|
||||
docqual.h equationdetect.h fixspace.h \
|
||||
imgscale.h ltrresultiterator.h mutableiterator.h osdetect.h output.h \
|
||||
@ -20,8 +21,7 @@ include_HEADERS = \
|
||||
reject.h resultiterator.h scaleimg.h \
|
||||
tessbox.h tessedit.h tesseractclass.h \
|
||||
tesseract_cube_combiner.h \
|
||||
tessvars.h tfacep.h tfacepp.h thresholder.h \
|
||||
werdit.h
|
||||
tessvars.h tfacep.h tfacepp.h werdit.h
|
||||
|
||||
if !USING_MULTIPLELIBS
|
||||
noinst_LTLIBRARIES = libtesseract_main.la
|
||||
|
@ -7,14 +7,14 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
include_HEADERS = publictypes.h
|
||||
noinst_HEADERS = \
|
||||
blckerr.h blobbox.h blobs.h blread.h boxread.h boxword.h ccstruct.h coutln.h crakedge.h \
|
||||
detlinefit.h dppoint.h fontinfo.h genblob.h hpddef.h hpdsizes.h ipoints.h \
|
||||
linlsq.h matrix.h mod128.h normalis.h \
|
||||
ocrblock.h ocrpara.h ocrrow.h otsuthr.h \
|
||||
pageres.h params_training_featdef.h \
|
||||
pdblock.h points.h polyaprx.h polyblk.h \
|
||||
publictypes.h \
|
||||
quadlsq.h quadratc.h quspline.h ratngs.h rect.h rejctmap.h \
|
||||
seam.h split.h statistc.h stepblob.h vecfuncs.h werd.h
|
||||
|
||||
|
@ -8,19 +8,15 @@ endif
|
||||
|
||||
EXTRA_DIST = mfcpch.cpp
|
||||
|
||||
include_HEADERS = \
|
||||
ambigs.h basedir.h bits16.h bitvector.h \
|
||||
tesscallback.h ccutil.h clst.h \
|
||||
elst2.h elst.h errcode.h \
|
||||
fileerr.h genericvector.h globaloc.h \
|
||||
hashfn.h helpers.h host.h hosthplb.h indexmapbidi.h lsterr.h \
|
||||
memry.h mfcpch.h \
|
||||
ndminx.h notdll.h nwmain.h \
|
||||
ocrclass.h platform.h qrsequence.h \
|
||||
secname.h serialis.h sorthelper.h stderr.h strngs.h \
|
||||
tessdatamanager.h tprintf.h \
|
||||
unichar.h unicharmap.h unicharset.h unicity_table.h unicodes.h \
|
||||
params.h
|
||||
include_HEADERS = errcode.h fileerr.h host.h memry.h \
|
||||
platform.h serialis.h strngs.h tesscallback.h unichar.h
|
||||
noinst_HEADERS = \
|
||||
ambigs.h basedir.h bits16.h bitvector.h ccutil.h clst.h \
|
||||
elst2.h elst.h genericvector.h globaloc.h hashfn.h helpers.h \
|
||||
hosthplb.h indexmapbidi.h lsterr.h mfcpch.h ndminx.h notdll.h \
|
||||
nwmain.h ocrclass.h qrsequence.h secname.h sorthelper.h stderr.h \
|
||||
tessdatamanager.h tprintf.h unicharmap.h unicharset.h \
|
||||
unicity_table.h unicodes.h params.h
|
||||
|
||||
if !USING_MULTIPLELIBS
|
||||
noinst_LTLIBRARIES = libtesseract_ccutil.la
|
||||
|
@ -8,7 +8,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
adaptive.h baseline.h blobclass.h chartoname.h \
|
||||
classify.h cluster.h clusttool.h cutoffs.h \
|
||||
errorcounter.h extern.h extract.h \
|
||||
|
@ -12,7 +12,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
altlist.h beam_search.h bmp_8.h cached_file.h \
|
||||
char_altlist.h char_bigrams.h char_samp.h char_samp_enum.h \
|
||||
char_samp_set.h char_set.h classifier_base.h classifier_factory.h \
|
||||
|
@ -5,7 +5,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
bitvec.h callcpp.h const.h cutil.h cutil_class.h danerror.h efio.h \
|
||||
emalloc.h freelist.h globals.h listio.h \
|
||||
oldheap.h oldlist.h structures.h tessarray.h
|
||||
|
@ -6,7 +6,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
dawg.h dict.h matchdefs.h \
|
||||
permute.h states.h stopper.h trie.h
|
||||
|
||||
|
@ -5,7 +5,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
image.h img.h imgerrs.h imgs.h \
|
||||
imgtiff.h imgunpk.h svshowim.h
|
||||
|
||||
|
@ -9,7 +9,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
input_file_buffer.h neural_net.h neuron.h
|
||||
|
||||
if !USING_MULTIPLELIBS
|
||||
|
@ -10,7 +10,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
endif
|
||||
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
alignedblob.h bbgrid.h blkocc.h blobgrid.h \
|
||||
ccnontextdetect.h cjkpitch.h colfind.h colpartition.h colpartitionset.h \
|
||||
colpartitiongrid.h \
|
||||
|
@ -1,4 +1,3 @@
|
||||
SUBDIRS =
|
||||
AM_CPPFLAGS = \
|
||||
-DUSE_STD_NAMESPACE \
|
||||
-I$(top_srcdir)/ccmain -I$(top_srcdir)/api \
|
||||
@ -8,7 +7,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/classify -I$(top_srcdir)/display \
|
||||
-I$(top_srcdir)/wordrec -I$(top_srcdir)/cutil
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
commontraining.h tessopt.h mergenf.h
|
||||
|
||||
noinst_LTLIBRARIES = libtesseract_training.la libtesseract_tessopt.la
|
||||
|
@ -3,7 +3,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
scrollview.h svmnode.h svutil.h
|
||||
|
||||
if !USING_MULTIPLELIBS
|
||||
|
@ -9,7 +9,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
|
||||
-fvisibility=hidden -fvisibility-inlines-hidden
|
||||
endif
|
||||
|
||||
include_HEADERS = \
|
||||
noinst_HEADERS = \
|
||||
associate.h bestfirst.h chop.h \
|
||||
chopper.h closed.h drawfx.h findseam.h gradechop.h \
|
||||
language_model.h makechop.h matchtab.h measure.h \
|
||||
@ -39,5 +39,3 @@ libtesseract_wordrec_la_SOURCES = \
|
||||
olutil.cpp outlines.cpp pieces.cpp \
|
||||
plotedges.cpp plotseg.cpp render.cpp segsearch.cpp \
|
||||
tface.cpp wordclass.cpp wordrec.cpp
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user