[PATCH] gen_gcc_docs.sh: Stop generating .pdf.gz files

Mark Wielaard mark@klomp.org
Sat Sep 19 15:22:04 GMT 2026


Hi,

On Thu, Sep 17, 2026 at 01:54:01PM +0200, Mark Wielaard wrote:
> PDF files already are compressed; adding gzip compression is mostly
> pointless.
> 
> This matches the gcc maintainer-scripts commit 9a698ac1bdab
> ("maintainer-scripts: Stop generating .pdf.gz files")
> for https://snapshots.sourceware.org/gcc/docs/

Pushed,

Mark

> ---
>  builder/containers/gen_gcc_docs.sh | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/builder/containers/gen_gcc_docs.sh b/builder/containers/gen_gcc_docs.sh
> index 25d011ba2526..3fcd1c156bd5 100755
> --- a/builder/containers/gen_gcc_docs.sh
> +++ b/builder/containers/gen_gcc_docs.sh
> @@ -370,7 +370,7 @@ find . -name gcobol.[13] |
>  # Then build a gzipped copy of each of the resulting .html, .ps and .tar files
>  (
>    shopt -s nullglob
> -  for file in */*.html *.ps *.pdf *.tar; do
> +  for file in */*.html *.ps *.tar; do
>      # Tell gzip to produce reproducible zips.
>      SOURCE_DATE_EPOCH=1 gzip --best > "$file".gz <"$file"
>    done
> @@ -394,7 +394,6 @@ done < <(find . \
>                -o -name '*.ps' \
>                -o -name '*.ps.gz' \
>                -o -name '*.pdf' \
> -              -o -name '*.pdf.gz' \
>                -o -name '*.tar' \
>                -o -name '*.tar.gz' \
>                \) -print0)
> -- 
> 2.55.0
> 


More information about the Buildbot mailing list