Page MenuHomeFreeBSD

D48339.diff
No OneTemporary

D48339.diff

diff --git a/Makefile.inc1 b/Makefile.inc1
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1000,13 +1000,18 @@
IMAKE_INSTALL= INSTALL="${INSTALL_CMD} ${INSTALLFLAGS}"
IMAKE_MTREE= MTREE_CMD="${MTREE_CMD} ${MTREEFLAGS}"
.endif
-.if make(distributeworld)
+
+.if make(distributeworld) || make(packageworld) || make(distributekernel) || \
+ make(packagekernel)
.if ${DISTDIR:U/} == /
-.error DISTDIR must be set for make distributeworld and may not be the root directory.
+.error DISTDIR must be set for make distribute* and make package*, and may not be the root directory.
.endif
.if !defined(NO_ROOT) || !defined(METALOG)
-.error NO_ROOT and METALOG must be set for make distributeworld.
+.error NO_ROOT and METALOG must be set for make distribute* and make package*.
+.endif
.endif
+
+.if make(distributeworld)
CERTCTLDESTDIR= ${DESTDIR}/${DISTDIR}
CERTCTLFLAGS+= -d /base
.else

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 13, 6:04 PM (11 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15716900
Default Alt Text
D48339.diff (889 B)

Event Timeline