Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/pmax Add a beforeinstall target to bomb out if RELEA...
details: https://anonhg.NetBSD.org/src/rev/7b02c0936b2f
branches: trunk
changeset: 472318:7b02c0936b2f
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Apr 27 12:05:05 1999 +0000
description:
Add a beforeinstall target to bomb out if RELEASEDIR isn't set.
There's probably a prettier way of doing this...
diffstat:
distrib/pmax/Makefile.inc | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r f8faf88c7f07 -r 7b02c0936b2f distrib/pmax/Makefile.inc
--- a/distrib/pmax/Makefile.inc Tue Apr 27 12:03:39 1999 +0000
+++ b/distrib/pmax/Makefile.inc Tue Apr 27 12:05:05 1999 +0000
@@ -1,4 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.1 1998/12/05 06:42:55 jonathan Exp $
+# $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
Home |
Main Index |
Thread Index |
Old Index