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

Mark Wielaard mark@klomp.org
Thu Sep 17 11:54:01 GMT 2026


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/
---
 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