summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2025-01-14 17:43:04 +0100
committerWerner Koch <wk@gnupg.org>2025-01-14 17:43:41 +0100
commit81e129ab3e5cb91739227135ebfcc85d4020725f (patch)
treee5b6fe4d4fdfde59b7eb9f3f4af7a00de959e11b
parentagent: Fix a memory leak. (diff)
downloadgnupg2-81e129ab3e5cb91739227135ebfcc85d4020725f.tar.xz
gnupg2-81e129ab3e5cb91739227135ebfcc85d4020725f.zip
speedo: Do not package zlib and bzip2 object files
* build-aux/speedo.mk (dist-source): Exclude them. -- GnuPG-bug-id: 7442
-rw-r--r--build-aux/speedo.mk4
1 files changed, 4 insertions, 0 deletions
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" ;\