summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2011-01-25 08:13:31 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2011-01-25 08:13:31 +0000
commitf1d16bd8921680db8046eb765e51a15163f9dff1 (patch)
tree05b052c8495e25802df154c289beffd84ea8e8ac
parent3545027dc330337bcbb43c0516fc05bc2786e6ee (diff)
downloadsrc-test-f1d16bd8921680db8046eb765e51a15163f9dff1.tar.gz
src-test-f1d16bd8921680db8046eb765e51a15163f9dff1.zip
Back out r217734. [1]
Properly document what `make targets` is supposed to list to avoid further confusion given the place the target sits. Should have happened with r217125. Requested by: imp [1] Reviewed by: rwatson
Notes
Notes: svn path=/head/; revision=217815
-rw-r--r--Makefile5
-rw-r--r--share/man/man7/build.78
2 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1e12a56f94a83..42026d6b363f8 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,8 @@
# delete-old-dirs - Delete obsolete directories.
# delete-old-files - Delete obsolete files.
# delete-old-libs - Delete obsolete libraries.
-# targets - Print a list of supported TARGET/TARGET_ARCH pairs.
+# targets - Print a list of supported TARGET/TARGET_ARCH pairs
+# for world and kernel targets.
#
# This makefile is simple by design. The FreeBSD make automatically reads
# the /usr/share/mk/sys.mk unless the -m argument is specified on the
@@ -297,7 +298,7 @@ TARGET_ARCHES_${target}?= ${target}
.endfor
targets:
- @echo "Supported TARGETS/TARGET_ARCH pairs"
+ @echo "Supported TARGET/TARGET_ARCH pairs for world and kernel targets"
.for target in ${TARGETS}
.for target_arch in ${TARGET_ARCHES_${target}}
@echo " ${target}/${target_arch}"
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index c145e2de6c895..d6e7e32c76cac 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 22, 2011
+.Dd January 25, 2011
.Dt BUILD 7
.Os
.Sh NAME
@@ -229,6 +229,12 @@ This command takes a long time.
.It Cm update
Get updated sources as configured in
.Xr make.conf 5 .
+.It Cm targets
+Print a list of supported
+.Va TARGET
+/
+.Va TARGET_ARCH
+pairs for world and kernel targets.
.It Cm tinderbox
Execute the same targets as
.Cm universe .