vcpkg/ports/proj/remove-doc.patch
Thomas1664 a147691f50
[proj] Disable docs (#25502)
* [proj] Remove docs

* version
2022-07-05 15:00:20 -07:00

35 lines
861 B
Diff

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()