Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc skip "distribution" step if DISTRIBUTION_DONE is set.
details: https://anonhg.NetBSD.org/src/rev/28a832188795
branches: trunk
changeset: 515946:28a832188795
user: chs <chs%NetBSD.org@localhost>
date: Wed Oct 10 06:58:56 2001 +0000
description:
skip "distribution" step if DISTRIBUTION_DONE is set.
diffstat:
etc/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 031cd88a6168 -r 28a832188795 etc/Makefile
--- a/etc/Makefile Wed Oct 10 06:37:53 2001 +0000
+++ b/etc/Makefile Wed Oct 10 06:58:56 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.181 2001/10/09 05:19:04 enami Exp $
+# $NetBSD: Makefile,v 1.182 2001/10/10 06:58:56 chs Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -28,6 +28,7 @@
# Targets:
# distribution: makes a full NetBSD distribution in DESTDIR. If
# INSTALL_DONE is set, it will not do a `make install.'
+# if DISTRIBUTION_DONE is set, it will not do anything.
# distrib-dirs: creates an empty NetBSD directory tree in DESTDIR.
# Called by distribution.
# snapshot: calls distribution, above, and then tars up the files
@@ -152,6 +153,7 @@
.endif
.else
distribution: distrib-dirs
+.if !defined(DISTRIBUTION_DONE)
.if !defined(INSTALL_DONE)
(cd ..; ${MAKE} _DISTRIB= includes)
(cd ..; ${MAKE} _DISTRIB= install)
@@ -270,6 +272,7 @@
.ifndef NO_SENDMAIL
(cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution)
.endif
+.endif
distrib-dirs:
${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${DESTDIR}
Home |
Main Index |
Thread Index |
Old Index