diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c4e5e2..b150641 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -175,7 +175,6 @@ message(STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}") if(CMAKE_INSTALL_PREFIX STREQUAL "${CMAKE_INSTALL_DEFAULT_PREFIX}") set(CMAKE_INSTALL_DEFAULT_DATAROOTDIR "") - set(CMAKE_INSTALL_DEFAULT_DOCDIR "/doc") set(CMAKE_INSTALL_DEFAULT_JAVADIR "/classes") if(UNIX AND NOT APPLE) if(BITS EQUAL 64) @@ -199,7 +198,7 @@ macro(report_directory var) mark_as_advanced(CLEAR CMAKE_INSTALL_${var}) endmacro() -set(DIRLIST "BINDIR;DATAROOTDIR;DOCDIR;INCLUDEDIR;LIBDIR") +set(DIRLIST "BINDIR;DATAROOTDIR;INCLUDEDIR;LIBDIR") if(UNIX) list(APPEND DIRLIST "MANDIR") endif() @@ -2020,25 +2019,6 @@ endif() install(TARGETS rdjpgcom wrjpgcom RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT bin) -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/README.ijg - ${CMAKE_CURRENT_SOURCE_DIR}/README.md - ${CMAKE_CURRENT_SOURCE_DIR}/src/example.c - ${CMAKE_CURRENT_SOURCE_DIR}/src/tjcomp.c - ${CMAKE_CURRENT_SOURCE_DIR}/src/tjdecomp.c - ${CMAKE_CURRENT_SOURCE_DIR}/src/tjtran.c - ${CMAKE_CURRENT_SOURCE_DIR}/doc/libjpeg.txt - ${CMAKE_CURRENT_SOURCE_DIR}/doc/structure.txt - ${CMAKE_CURRENT_SOURCE_DIR}/doc/usage.txt - ${CMAKE_CURRENT_SOURCE_DIR}/doc/wizard.txt - ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR} - COMPONENT doc) -if(WITH_JAVA) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/java/TJComp.java - ${CMAKE_CURRENT_SOURCE_DIR}/java/TJDecomp.java - ${CMAKE_CURRENT_SOURCE_DIR}/java/TJTran.java - DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT doc) -endif() - if(UNIX OR MINGW) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/doc/cjpeg.1 ${CMAKE_CURRENT_SOURCE_DIR}/doc/djpeg.1