void-packages/srcpkgs/tidy5/patches/allow-cross.patch
2015-06-30 12:02:56 +00:00

20 lines
752 B
Diff

--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -201,7 +201,7 @@
# run built EXE to generate xml output
add_custom_command(
TARGET man
- COMMAND ${CMAKE_BINARY_DIR}/${LIB_NAME} -xml-help > ${TIDYHELP}
+ COMMAND ${CMAKE_SOURCE_DIR}/tidy5 -xml-help > ${TIDYHELP}
COMMENT "Generate ${TIDYHELP}"
VERBATIM
)
@@ -209,7 +209,7 @@
# run built EXE to generate more xml output
add_custom_command(
TARGET man
- COMMAND ${CMAKE_BINARY_DIR}/${LIB_NAME} -xml-config > ${TIDYCONFIG}
+ COMMAND ${CMAKE_SOURCE_DIR}/tidy5 -xml-config > ${TIDYCONFIG}
COMMENT "Generate ${TIDYCONFIG}"
VERBATIM
)