version 1.193, 2002/12/21 16:43:33 |
version 1.198, 2003/01/06 17:40:18 |
|
|
# |
# |
# Targets: |
# Targets: |
# build: |
# build: |
# Builds a full release of NetBSD in DESTDIR. If BUILD_DONE is |
# Builds a full release of NetBSD in DESTDIR, except for the |
# set, this is an empty target. |
# /etc configuration files. |
|
# If BUILD_DONE is set, this is an empty target. |
|
# distribution: |
|
# Builds a full release of NetBSD in DESTDIR, including the /etc |
|
# configuration files. |
|
# buildworld: |
|
# As per `make distribution', except that it ensures that DESTDIR |
|
# is not the root directory. |
|
# installworld: |
|
# Install the distribution from DESTDIR to INSTALLWORLDDIR (which |
|
# defaults to the root directory). Ensures that INSTALLWORLDDIR |
|
# is the not root directory if cross compiling. |
# release: |
# release: |
# Does a `make build,' and then tars up the DESTDIR files |
# Does a `make build', and then tars up the DESTDIR files |
# into RELEASEDIR, in release(7) format. (See etc/Makefile for |
# into RELEASEDIR/${MACHINE}, in release(7) format. |
# more information on this.) |
# (See etc/Makefile for more information on this.) |
# regression-tests: |
# regression-tests: |
# Runs the regression tests in "regress" on this host. |
# Runs the regression tests in "regress" on this host. |
# |
# |
|
|
# |
# |
|
|
distribution buildworld: |
distribution buildworld: |
.if make(buildworld) && (${DESTDIR} == "" || ${DESTDIR} == "/") |
.if make(buildworld) && \ |
|
(!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/") |
@echo "Won't make ${.TARGET} with DESTDIR=/" |
@echo "Won't make ${.TARGET} with DESTDIR=/" |
@false |
@false |
.endif |
.endif |
Line 206 HOST_UNAME_S!= uname -s |
|
Line 218 HOST_UNAME_S!= uname -s |
|
HOST_UNAME_M!= uname -m |
HOST_UNAME_M!= uname -m |
|
|
installworld: |
installworld: |
.if (${DESTDIR} == "" || ${DESTDIR} == "/") |
.if (!defined(DESTDIR) || ${DESTDIR} == "" || ${DESTDIR} == "/") |
@echo "Can't make ${.TARGET} to DESTDIR=/" |
@echo "Can't make ${.TARGET} to DESTDIR=/" |
@false |
@false |
.endif |
.endif |