Merge branch 'tc/generate-configlist-fix-for-older-ninja' into next

Build update.

* tc/generate-configlist-fix-for-older-ninja:
  generate-configlist: collapse depfile for older Ninja
This commit is contained in:
Junio C Hamano
2026-05-22 09:12:08 +09:00

View File

@@ -42,9 +42,12 @@ if test -n "$DEPFILE"
then
QUOTED_OUTPUT="$(printf '%s\n' "$OUTPUT" | sed 's,[&/\],\\&,g')"
{
printf '%s' "$QUOTED_OUTPUT: "
printf '%s\n' "$SOURCE_DIR"/Documentation/*config.adoc \
"$SOURCE_DIR"/Documentation/config/*.adoc |
sed -e 's/[# ]/\\&/g' -e "s/^/$QUOTED_OUTPUT: /"
sed -e 's/[# ]/\\&/g' |
tr '\n' ' '
printf '\n'
printf '%s:\n' "$SOURCE_DIR"/Documentation/*config.adoc \
"$SOURCE_DIR"/Documentation/config/*.adoc |
sed -e 's/[# ]/\\&/g'