jsonnet: add help2man cross patch
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -380,7 +380,7 @@
|
||||
add_custom_command(
|
||||
OUTPUT "${PROJECT_BINARY_DIR}/man/man1/jsonnet.1"
|
||||
COMMAND "${HELP2MAN_BINARY}"
|
||||
- ARGS --section=1 --no-info --name="Jsonnet data templating language interpreter" --output="${PROJECT_BINARY_DIR}/man/man1/jsonnet.1" "$<TARGET_FILE:jsonnet>"
|
||||
+ ARGS --section=1 --no-info --name="Jsonnet data templating language interpreter" --output="${PROJECT_BINARY_DIR}/man/man1/jsonnet.1" "${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:jsonnet>"
|
||||
DEPENDS jsonnet
|
||||
)
|
||||
endif()
|
||||
@@ -388,7 +388,7 @@
|
||||
add_custom_command(
|
||||
OUTPUT "${PROJECT_BINARY_DIR}/man/man1/jsonnetfmt.1"
|
||||
COMMAND "${HELP2MAN_BINARY}"
|
||||
- ARGS --section=1 --no-info --name="Jsonnet data templating language auto-formatter" --output="${PROJECT_BINARY_DIR}/man/man1/jsonnetfmt.1" "$<TARGET_FILE:jsonnetfmt>"
|
||||
+ ARGS --section=1 --no-info --name="Jsonnet data templating language auto-formatter" --output="${PROJECT_BINARY_DIR}/man/man1/jsonnetfmt.1" "${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:jsonnetfmt>"
|
||||
DEPENDS jsonnetfmt
|
||||
)
|
||||
endif()
|
||||
Reference in New Issue
Block a user