Source-Changes-HG archive

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

[src/trunk]: src Explain why make is being rebuilt.



details:   https://anonhg.NetBSD.org/src/rev/e0cc8a076fc4
branches:  trunk
changeset: 554213:e0cc8a076fc4
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Oct 26 03:12:21 2003 +0000

description:
Explain why make is being rebuilt.
Patch from Hubert Feyrer in [toolchain/23156].

diffstat:

 build.sh |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 1a0acdf7bcd9 -r e0cc8a076fc4 build.sh
--- a/build.sh  Sun Oct 26 02:17:46 2003 +0000
+++ b/build.sh  Sun Oct 26 03:12:21 2003 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.121 2003/10/26 02:17:46 lukem Exp $
+#      $NetBSD: build.sh,v 1.122 2003/10/26 03:12:21 lukem Exp $
 #
 # Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -653,11 +653,13 @@
        if [ -x "${make}" ]; then
                for f in usr.bin/make/*.[ch] usr.bin/make/lst.lib/*.[ch]; do
                        if [ "${f}" -nt "${make}" ]; then
+                               statusmsg "${make} outdated (older than ${f}), needs building."
                                do_rebuildmake=true
                                break
                        fi
                done
        else
+               statusmsg "No ${make}, needs building."
                do_rebuildmake=true
        fi
 
@@ -831,7 +833,7 @@
        eval cat <<EOF ${makewrapout}
 #! /bin/sh
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.121 2003/10/26 02:17:46 lukem Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.122 2003/10/26 03:12:21 lukem Exp $
 #
 
 EOF



Home | Main Index | Thread Index | Old Index