aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-11-30 17:07:53 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-11-30 17:07:53 +0000
commit9d22cb2e69aef3a0dd861dce2910357e900bc208 (patch)
tree95145827a830a6719d2414cad06907238ba01fdc /release/Makefile
parentf2b525e6b9e6160a600a3ceb4872c796c89aa1ba (diff)
downloadsrc-9d22cb2e69aef3a0dd861dce2910357e900bc208.tar.gz
src-9d22cb2e69aef3a0dd861dce2910357e900bc208.zip
Add NOPKG to disable pkg-stage.
Notes
Notes: svn path=/head/; revision=258770
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile
index 1fd081c1afd2..056d28814f67 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -16,6 +16,7 @@
# (by default, the directory above this one)
# PORTSDIR: location of ports tree to distribute (default: /usr/ports)
# DOCDIR: location of doc tree (default: /usr/doc)
+# NOPKG: if set, do not distribute third-party packages
# NOPORTS: if set, do not distribute ports tree
# NOSRC: if set, do not distribute source tree
# NODOC: if set, do not generate release documentation
@@ -212,7 +213,7 @@ packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
touch ${.TARGET}
pkg-stage:
-.if(exists(${.CURDIR}/${TARGET}/pkg-stage.conf))
+.if !defined(NOPKG) && exists(${.CURDIR}/${TARGET}/pkg-stage.conf)
sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
${REVISION}
.endif