Re: [RFC PATCH v4 06/19] Makefile: extract script to massage Shell scripts
Hi Patrick
On 24/10/2024 13:40, Patrick Steinhardt wrote:
>
> + add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/${shell_gen_path}
> + COMMAND ${CMAKE_SOURCE_DIR}/generate-script.shSame comments as the other patch - this need ${SH_EXE} as the command nameShow 7 quoted lines
> @@ -1156,6 +1160,10 @@ string(REPLACE "@GIT_INTEROP_MAKE_OPTS@" "" git_build_options "${git_build_optio
> string(REPLACE "@GIT_TEST_INDEX_VERSION@" "" git_build_options "${git_build_options}")
> string(REPLACE "@GIT_TEST_PERL_FATAL_WARNINGS@" "" git_build_options "${git_build_options}")
> string(REPLACE "@RUNTIME_PREFIX@" "${RUNTIME_PREFIX}" git_build_options "${git_build_options}")
> +string(REPLACE "@GITWEBDIR@" "${GITWEBDIR}" git_build_options "${git_build_options}")
> +string(REPLACE "@USE_GETTEXT_SCHEME@" "" git_build_options "${git_build_options}")
> +string(REPLACE "@LOCALEDIR@" "LOCALEDIR" git_build_options "${git_build_options}")s/"LOCALEDIR"/"${LOCALEDIR}"/Best Wishes
Phillip