Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc protect against multiple target definition for parse_md_...
details: https://anonhg.NetBSD.org/src/rev/6d4f14ab9a6b
branches: trunk
changeset: 502234:6d4f14ab9a6b
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 14 05:31:36 2001 +0000
description:
protect against multiple target definition for parse_md_post
diffstat:
etc/Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 582d89e5f677 -r 6d4f14ab9a6b etc/Makefile
--- a/etc/Makefile Sun Jan 14 05:28:01 2001 +0000
+++ b/etc/Makefile Sun Jan 14 05:31:36 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.173 2001/01/09 02:13:54 simonb Exp $
+# $NetBSD: Makefile,v 1.174 2001/01/14 05:31:36 christos Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -144,10 +144,14 @@
mkdir -p ${KERNOBJDIR}
.ifndef DESTDIR
-distribution distrib-dirs release snapshot snap_pre snap_md_pre \
-snap_md_post iso-image:
+__warndestdir: .USE
@echo setenv DESTDIR before doing that!
@false
+distribution distrib-dirs release snapshot snap_pre snap_md_pre \
+iso-image: __warndestdir
+.if !target(snap_md_post)
+snap_md_post: __warndestdir
+.endif
.else
distribution: distrib-dirs
.if !defined(INSTALL_DONE)
Home |
Main Index |
Thread Index |
Old Index