git: 21040b3cfa02 - main - release: Exclude release/obj from the src tarball
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 May 2025 17:01:38 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=21040b3cfa02bf09ae2307a11ddc6b18e6a83c49
commit 21040b3cfa02bf09ae2307a11ddc6b18e6a83c49
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-05-09 00:46:53 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-05-13 16:39:12 +0000
release: Exclude release/obj from the src tarball
A user may run `make objlink` in release/ in order to have easy access
to built release artifacts. We don't want this to appear in src.txz.
Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50262
---
release/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/release/Makefile b/release/Makefile
index 913fc8f2b876..8ca006e75f6a 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -157,7 +157,8 @@ src.txz:
mkdir -p ${DISTDIR}/usr
ln -fs ${WORLDDIR} ${DISTDIR}/usr/src
( cd ${DISTDIR} && ${TAR_CMD} cLvf - --exclude .svn --exclude .zfs \
- --exclude .git --exclude @ --exclude usr/src/release/dist usr/src | \
+ --exclude .git --exclude @ --exclude usr/src/release/dist \
+ --exclude usr/src/release/obj usr/src | \
${XZ_CMD} > ${.OBJDIR}/src.txz )
ports.txz: