Skip to content

Commit af037c2

Browse files
committed
rename version.h.in because the filename is too general for distribution
1 parent f8e26ee commit af037c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ configure_file(${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY)
121121
set(INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include" "${CMAKE_INSTALL_PREFIX}/include/tesseract")
122122

123123
configure_file(
124-
${CMAKE_SOURCE_DIR}/api/version.h.in
125-
${CMAKE_BINARY_DIR}/api/version.h @ONLY)
124+
${CMAKE_SOURCE_DIR}/api/tess_version.h.in
125+
${CMAKE_BINARY_DIR}/api/tess_version.h @ONLY)
126126
configure_file(
127127
${CMAKE_SOURCE_DIR}/vs2010/tesseract/tesseract.rc.in
128128
${CMAKE_BINARY_DIR}/vs2010/tesseract/tesseract.rc @ONLY)
File renamed without changes.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ fi
479479
# Output files
480480
AC_CONFIG_FILES([Makefile tesseract.pc])
481481
AC_CONFIG_FILES([api/Makefile])
482-
AC_CONFIG_FILES([api/version.h])
482+
AC_CONFIG_FILES([api/tess_version.h])
483483
AC_CONFIG_FILES([arch/Makefile])
484484
AC_CONFIG_FILES([ccmain/Makefile])
485485
AC_CONFIG_FILES([opencl/Makefile])

0 commit comments

Comments
 (0)