initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Local Arch development packaging is explicit; normal builds do not package.
|
||||
include_guard(GLOBAL)
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
return()
|
||||
endif()
|
||||
find_package(Python3 3.11 COMPONENTS Interpreter QUIET)
|
||||
if(Python3_Interpreter_FOUND)
|
||||
set(DOCVIEW_LINUX_PACKAGE_OUTPUT "${CMAKE_BINARY_DIR}/linux-development-package" CACHE PATH
|
||||
"New output directory for the local Arch development package")
|
||||
add_custom_target(linux-development-package
|
||||
COMMAND "${Python3_EXECUTABLE}" "${CMAKE_SOURCE_DIR}/tools/package_linux_development.py"
|
||||
--build-dir "${CMAKE_BINARY_DIR}" --output "${DOCVIEW_LINUX_PACKAGE_OUTPUT}"
|
||||
DEPENDS docview docview-pdf-worker docview-archive-worker
|
||||
USES_TERMINAL VERBATIM
|
||||
COMMENT "Packaging the local Arch development build with dependency notices")
|
||||
endif()
|
||||
Reference in New Issue
Block a user