NetBSD/distrib/pmax/Makefile.inc
simonb 9de21096d9 Add a beforeinstall target to bomb out if RELEASEDIR isn't set.
There's probably a prettier way of doing this...
1999-04-27 12:05:05 +00:00

11 lines
286 B
Makefile

# $NetBSD: Makefile.inc,v 1.2 1999/04/27 12:05:05 simonb Exp $
REV!=sh ${.CURDIR}/../../../sys/conf/osrelease.sh -s
VER!=sh ${.CURDIR}/../../../sys/conf/osrelease.sh
.if target(install) && !defined(RELEASEDIR)
beforeinstall:
@echo setenv RELEASEDIR before doing that!
@false
.endif