From 76e601d758a96c74b4822cb80e5b4d3cdb764a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Sat, 7 Jan 2023 17:00:24 +0100 Subject: [PATCH] Meta/build-manpages-website: Copy all manpage PNGs This will allow using images in manpages elsewhere in the future without adjusting the PNG copying command. rsync unfortunately cannot place all files into the root folder when receiving a list of files via --files-from=-. --- Meta/build-manpages-website.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meta/build-manpages-website.sh b/Meta/build-manpages-website.sh index 49de582db9..f46dece75d 100755 --- a/Meta/build-manpages-website.sh +++ b/Meta/build-manpages-website.sh @@ -106,7 +106,7 @@ pandoc -f gfm -t html5 -s \ echo 'Copying images' rsync -a Meta/Websites/man.serenityos.org/banner.png output/ & rsync -a Base/usr/share/man/man7/LibDSP_classes.svg output/ & -rsync -a Base/usr/share/man/man1/*.png output/ & +find Base/usr/share/man/ -iname '*.png' -exec rsync -a {} output/ \; & # Copy icons mkdir output/icons