void-packages/srcpkgs/tidy5/patches/allow-cross.patch

21 lines
752 B
Diff
Raw Normal View History

2015-06-29 13:30:25 +00:00
--- 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
)