Skip to content

Commit

Permalink
show the start time at the end of the build as well.
Browse files Browse the repository at this point in the history
inspired by [misc/18173] from Julio Merino.
  • Loading branch information
lukem committed Dec 2, 2002
1 parent 1352c02 commit 14e5273
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.190 2002/11/29 23:48:37 lukem Exp $
# $NetBSD: Makefile,v 1.191 2002/12/02 08:23:41 lukem Exp $

# This is the top-level makefile for building NetBSD. For an outline of
# how to build a snapshot or release, as well as other release engineering
Expand Down Expand Up @@ -150,14 +150,17 @@ includes-gnu: includes-lib

# Build the system and install into DESTDIR.

START_TIME!= date

build:
.if defined(BUILD_DONE)
@echo "Build already installed into ${DESTDIR}"
.else
@printf "Build started at: " && date
@echo "Build started at: ${START_TIME}"
.for tgt in ${BUILDTARGETS}
@(cd ${.CURDIR} && ${MAKE} ${tgt})
.endfor
@echo "Build started at: ${START_TIME}"
@printf "Build finished at: " && date
.endif

Expand Down

0 comments on commit 14e5273

Please sign in to comment.