git: 2fa091dcfb2b - main - Makefile.inc1: packageworld: remove non-NO_ROOT cases
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 10 Mar 2025 18:15:54 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2fa091dcfb2b973704aeb25fd8b0499f638f8114
commit 2fa091dcfb2b973704aeb25fd8b0499f638f8114
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-03-10 18:15:10 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-03-10 18:15:44 +0000
Makefile.inc1: packageworld: remove non-NO_ROOT cases
The packageworld target requires NO_ROOT to be set (and there is a check
that this is the case). Remove the now-unused non-NO_ROOT cases.
Reviewed by: brooks, bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48590
---
Makefile.inc1 | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/Makefile.inc1 b/Makefile.inc1
index 9cd4d3b63cae..3569d068095c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1568,28 +1568,16 @@ distributeworld installworld stageworld: _installcheck_world .PHONY
packageworld: .PHONY
.for dist in base ${EXTRA_DISTRIBUTIONS}
-.if defined(NO_ROOT)
${_+_}cd ${DESTDIR}/${DISTDIR}/${dist}; \
${TAR_CMD} cvf - --exclude usr/lib/debug \
@${DESTDIR}/${DISTDIR}/${dist}.meta | \
${XZ_CMD} > ${PACKAGEDIR}/${dist}.txz
-.else
- ${_+_}cd ${DESTDIR}/${DISTDIR}/${dist}; \
- ${TAR_CMD} cvf - --exclude usr/lib/debug . | \
- ${XZ_CMD} > ${PACKAGEDIR}/${dist}.txz
-.endif
.endfor
.for dist in ${DEBUG_DISTRIBUTIONS}
-. if defined(NO_ROOT)
${_+_}cd ${DESTDIR}/${DISTDIR}/${dist}; \
${TAR_CMD} cvf - @${DESTDIR}/${DISTDIR}/${dist}.debug.meta | \
${XZ_CMD} > ${PACKAGEDIR}/${dist}-dbg.txz
-. else
- ${_+_}cd ${DESTDIR}/${DISTDIR}/${dist}; \
- ${TAR_CMD} cvLf - usr/lib/debug | \
- ${XZ_CMD} > ${PACKAGEDIR}/${dist}-dbg.txz
-. endif
.endfor
makeman: .PHONY