vcpkg/ports/proj/remove-doc.patch

35 lines
861 B
Diff
Raw Normal View History

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c9744e6..a6d5e4eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -318,15 +335,12 @@ include_directories(${PROJ_SOURCE_DIR}/src)
add_subdirectory(data)
add_subdirectory(include)
add_subdirectory(src)
-add_subdirectory(man)
add_subdirectory(cmake)
if(BUILD_TESTING)
add_subdirectory(test)
endif()
-set(docfiles COPYING NEWS AUTHORS)
-install(FILES ${docfiles}
- DESTINATION "${DOCDIR}")
+
################################################################################
# pkg-config support
@@ -378,6 +392,7 @@ set(CPACK_SOURCE_IGNORE_FILES
include(CPack)
+if(0)
# Simplify README.md to README
add_custom_target(README
COMMAND ${CMAKE_COMMAND}
@@ -393,3 +408,4 @@ if(NOT _is_multi_config_generator)
)
message(STATUS "PROJ: Configured 'dist' target")
endif()
+endif()