mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
- Add in some sanity checking. If NOPORTS is set but NODOC is not set,
print an error message and die immediately rather than an hour later.
This commit is contained in:
parent
fa6b9ae389
commit
d191a99c2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63161
@ -174,6 +174,11 @@ rerelease release:
|
||||
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT)
|
||||
@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && false
|
||||
.endif
|
||||
.if defined(NOPORTS) && !defined(NODOC)
|
||||
@echo "Ports are required for building the docs. Either set NODOC or"
|
||||
@echo "unset NOPORTS!"
|
||||
@exit 1
|
||||
.endif
|
||||
.if make(release)
|
||||
.if exists(${CHROOTDIR})
|
||||
# The first command will fail on a handful of files that have their schg
|
||||
|
Loading…
Reference in New Issue
Block a user