From 81e129ab3e5cb91739227135ebfcc85d4020725f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 14 Jan 2025 17:43:04 +0100 Subject: [PATCH] speedo: Do not package zlib and bzip2 object files * build-aux/speedo.mk (dist-source): Exclude them. -- GnuPG-bug-id: 7442 --- build-aux/speedo.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk index be5971a3c..3f1c64d0d 100644 --- a/build-aux/speedo.mk +++ b/build-aux/speedo.mk @@ -1200,6 +1200,9 @@ clean-speedo: # {{{ ifeq ($(TARGETOS),w32) +# The exclude '*.[ao]' takes care of the zlib and bzip2 peculiarity +# which keeps the build files in the source directory. See also the +# speedo_make_only_style macro. dist-source: installer for i in 00 01 02 03; do sleep 1;touch PLAY/stamps/stamp-*-${i}-*;done (set -e;\ @@ -1210,6 +1213,7 @@ dist-source: installer --anchored --exclude './PLAY' . ;\ tar --totals -rf "$$tarname" --exclude-backups --exclude-vcs \ --transform='s,^,$(INST_NAME)-$(INST_VERSION)/,' \ + --exclude='*.[ao]' \ PLAY/stamps/stamp-*-00-unpack PLAY/src swdb.lst swdb.lst.sig ;\ [ -f "$$tarname".xz ] && rm "$$tarname".xz;\ xz -T0 "$$tarname" ;\