Add a sanity-check for those building their own releases.

This commit is contained in:
Jordan K. Hubbard 1994-12-17 12:38:09 +00:00
parent fc0a941a94
commit e37a9fea8e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5137

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.61 1994/12/01 20:01:37 jkh Exp $
# $Id: Makefile,v 1.62 1994/12/01 20:02:44 jkh Exp $
#
FLOPPY= fd0
@ -130,6 +130,11 @@ crunch:
floppies: crunch boot_144.flp boot_12.flp cpio.flp
release20:
.if !defined(RELEASEDIR)
@echo "Do NOT invoke this target without a RELEASEDIR defined."
@echo "It will otherwise blow away your root directory!"
@exit 1
.endif
( cd ${.CURDIR} ; ${MAKE} clean)
-mkdir ${RELEASEDIR}
chflags -R noschg ${RELEASEDIR}/.