Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc more dup target fixes... snap_md_post should be fixed in...



details:   https://anonhg.NetBSD.org/src/rev/bb309c2132a4
branches:  trunk
changeset: 502239:bb309c2132a4
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 14 06:08:24 2001 +0000

description:
more dup target fixes... snap_md_post should be fixed in etc.i386
Makefile.inc not to work if $RELEASEDIR or $DESTDIR is not defined.

diffstat:

 etc/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 634c622cc7ef -r bb309c2132a4 etc/Makefile
--- a/etc/Makefile      Sun Jan 14 06:02:25 2001 +0000
+++ b/etc/Makefile      Sun Jan 14 06:08:24 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.174 2001/01/14 05:31:36 christos Exp $
+#      $NetBSD: Makefile,v 1.175 2001/01/14 06:08:24 christos Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -279,9 +279,13 @@
        cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys
 
 .if !defined(RELEASEDIR)
-release snapshot snap_pre snap_md_pre snap_md_post iso-image:
+__warnreleasedir: .USE
        @echo setenv RELEASEDIR before doing that!
        @false
+release snapshot snap_pre snap_md_pre iso-image: __warnreleasedir
+.if !target(snap_md_post)
+snap_md_post: __warnreleasedir
+.endif
 .else
 release snapshot: distribution snap_pre snap_md_pre snap_kern snap_md_post
        (cd ../distrib/sets; ${MAKE} sets)



Home | Main Index | Thread Index | Old Index