File tree 9 files changed +8
-10
lines changed
9 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ EXTRA_DIST = README.md\
29
29
DIST_SUBDIRS = $(SUBDIRS ) $(TRAINING_SUBDIR )
30
30
31
31
uninstall-hook :
32
- rm -rf $(DESTDIR )$(includedir )
32
+ rm -rf $(DESTDIR )$(pkgincludedir )
33
33
34
34
dist-hook :
35
35
# Need to remove .svn directories from directories
Original file line number Diff line number Diff line change @@ -131,8 +131,6 @@ if $sse41; then
131
131
AM_CONDITIONAL([SSE41_OPT], true)
132
132
fi
133
133
134
- includedir=" ${includedir} /tesseract"
135
-
136
134
AC_ARG_WITH([extra-includes],
137
135
[AS_HELP_STRING([--with-extra-includes= DIR],
138
136
[Define an additional directory for include files])],
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if VISIBILITY
19
19
AM_CPPFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
20
20
endif
21
21
22
- include_HEADERS = apitypes.h baseapi.h capi.h renderer.h tess_version.h
22
+ pkginclude_HEADERS = apitypes.h baseapi.h capi.h renderer.h tess_version.h
23
23
lib_LTLIBRARIES =
24
24
25
25
noinst_LTLIBRARIES = libtesseract_api.la
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ AM_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
8
8
AM_CPPFLAGS += -DTESS_EXPORTS
9
9
endif
10
10
11
- include_HEADERS = intsimdmatrix.h
11
+ pkginclude_HEADERS = intsimdmatrix.h
12
12
13
13
noinst_HEADERS = dotproductavx.h dotproductsse.h
14
14
noinst_HEADERS += intsimdmatrixavx2.h intsimdmatrixsse.h
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
19
19
-fvisibility=hidden -fvisibility-inlines-hidden
20
20
endif
21
21
22
- include_HEADERS = \
22
+ pkginclude_HEADERS = \
23
23
thresholder.h ltrresultiterator.h pageiterator.h resultiterator.h \
24
24
osdetect.h
25
25
noinst_HEADERS = \
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ AM_CPPFLAGS += -DTESS_EXPORTS \
10
10
-fvisibility=hidden -fvisibility-inlines-hidden
11
11
endif
12
12
13
- include_HEADERS = publictypes.h
13
+ pkginclude_HEADERS = publictypes.h
14
14
noinst_HEADERS = \
15
15
blamer.h blckerr.h blobbox.h blobs.h blread.h boxread.h boxword.h ccstruct.h coutln.h crakedge.h \
16
16
debugpixa.h detlinefit.h dppoint.h fontinfo.h genblob.h hpdsizes.h \
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ AM_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
11
11
AM_CPPFLAGS += -DTESS_EXPORTS
12
12
endif
13
13
14
- include_HEADERS = \
14
+ pkginclude_HEADERS = \
15
15
basedir.h errcode.h fileerr.h genericvector.h helpers.h host.h memry.h \
16
16
ndminx.h params.h ocrclass.h platform.h serialis.h strngs.h \
17
17
tesscallback.h unichar.h unicharcompress.h unicharmap.h unicharset.h
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ AM_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
20
20
AM_CPPFLAGS += -DTESS_EXPORTS
21
21
endif
22
22
23
- include_HEADERS = \
23
+ pkginclude_HEADERS = \
24
24
convolve.h ctc.h fullyconnected.h functions.h input.h \
25
25
lstm.h lstmrecognizer.h lstmtrainer.h maxpool.h \
26
26
networkbuilder.h network.h networkio.h networkscratch.h \
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ URL: https://github.com/tesseract-ocr/tesseract
9
9
Version : @tesseract_VERSION@
10
10
Libs: -L${libdir} -l@tesseract_OUTPUT_NAME @
11
11
Libs.private :
12
- Cflags: -I${includedir} -I ${includedir} /tesseract
12
+ Cflags: -I${includedir}
You can’t perform that action at this time.
0 commit comments