1
0
mirror of https://github.com/containers/buildah.git synced 2026-02-05 09:45:38 +01:00

docs/Makefile: don't show sed invocations

When running `make`, about 99% of the output looks like this:

sed -e 's/\((buildah[^)]*\.md\(#.*\)\?)\)//g' \
 -e 's/\[\(buildah[^]]*\)\]/\1/g' \
 -e 's/\[\([^]]*\)](http[^)]\+)/\1/g' \
 -e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' \
 -e 's/\\$/  /g' buildah-unshare.1.md  | \
../tests/tools/build/go-md2man -in /dev/stdin -out  buildah-unshare.1
sed -e 's/\((buildah[^)]*\.md\(#.*\)\?)\)//g' \
 -e 's/\[\(buildah[^]]*\)\]/\1/g' \
 -e 's/\[\([^]]*\)](http[^)]\+)/\1/g' \
 -e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' \
 -e 's/\\$/  /g' buildah-version.1.md  | \
../tests/tools/build/go-md2man -in /dev/stdin -out  buildah-version.1

As much as I love sed, this is not what I would want to stare at in
CI logs etc.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2023-06-02 16:31:09 -07:00
parent c3b7dcb848
commit 5eb356bb8b

View File

@@ -15,7 +15,7 @@ docs: $(patsubst %.md,%,$(wildcard *.md))
### sed is used to filter http/s links as well as relative links
### replaces "\" at the end of a line with two spaces
### this ensures that manpages are rendered correctly
$(SED) -e 's/\((buildah[^)]*\.md\(#.*\)\?)\)//g' \
@$(SED) -e 's/\((buildah[^)]*\.md\(#.*\)\?)\)//g' \
-e 's/\[\(buildah[^]]*\)\]/\1/g' \
-e 's/\[\([^]]*\)](http[^)]\+)/\1/g' \
-e 's;<\(/\)\?\(a\|a\s\+[^>]*\|sup\)>;;g' \