1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-19 14:27:02 +01:00

speedo: Do not package zlib and bzip2 object files

* build-aux/speedo.mk (dist-source): Exclude them.
--
GnuPG-bug-id: 7442
This commit is contained in:
Werner Koch 2025-01-14 17:43:04 +01:00
parent 137481fa10
commit 81e129ab3e
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -1200,6 +1200,9 @@ clean-speedo:
# {{{ # {{{
ifeq ($(TARGETOS),w32) 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 dist-source: installer
for i in 00 01 02 03; do sleep 1;touch PLAY/stamps/stamp-*-${i}-*;done for i in 00 01 02 03; do sleep 1;touch PLAY/stamps/stamp-*-${i}-*;done
(set -e;\ (set -e;\
@ -1210,6 +1213,7 @@ dist-source: installer
--anchored --exclude './PLAY' . ;\ --anchored --exclude './PLAY' . ;\
tar --totals -rf "$$tarname" --exclude-backups --exclude-vcs \ tar --totals -rf "$$tarname" --exclude-backups --exclude-vcs \
--transform='s,^,$(INST_NAME)-$(INST_VERSION)/,' \ --transform='s,^,$(INST_NAME)-$(INST_VERSION)/,' \
--exclude='*.[ao]' \
PLAY/stamps/stamp-*-00-unpack PLAY/src swdb.lst swdb.lst.sig ;\ PLAY/stamps/stamp-*-00-unpack PLAY/src swdb.lst swdb.lst.sig ;\
[ -f "$$tarname".xz ] && rm "$$tarname".xz;\ [ -f "$$tarname".xz ] && rm "$$tarname".xz;\
xz -T0 "$$tarname" ;\ xz -T0 "$$tarname" ;\