Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Simon J. Gerraty <sjg@netbsd.org>
List: source-changes
Date: 06/01/2001 23:33:38
Module Name: basesrc
Committed By: sjg
Date: Fri Jun 1 20:33:38 UTC 2001
Modified Files:
basesrc/usr.bin/make: compat.c job.c job.h main.c make.1 make.h parse.c
var.c
Log Message:
A number of semi-related changes.
1. make -dx turns on DEBUG_SHELL which causes sh -x to be used where
possible.
2. PrintOnError() is now called when make is stopping due to an error.
This routine reports the curdir and the value of any variables listed
in MAKE_PRINT_VAR_ON_ERROR.
3. Variables set via command line, are propagated to child-makes via
MAKEFLAGS. This behaviour appears to be necessary for POSIX (according
to the GNU folk anyway).
4. Do not reset MAKEFILE when reading ".depend" as this rather eliminates the
usefulness of ${MAKEFILE}.
5. Added ${.newline} as a simple means of being able to include \n in the
result of a :@ loop expansion.
6. Set ${MAKE_VERSION} if defined. Need to come up with a useful value.
Reviewed: christos
To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 basesrc/usr.bin/make/compat.c \
basesrc/usr.bin/make/make.h
cvs rdiff -r1.48 -r1.49 basesrc/usr.bin/make/job.c \
basesrc/usr.bin/make/make.1
cvs rdiff -r1.14 -r1.15 basesrc/usr.bin/make/job.h
cvs rdiff -r1.66 -r1.67 basesrc/usr.bin/make/main.c
cvs rdiff -r1.63 -r1.64 basesrc/usr.bin/make/parse.c
cvs rdiff -r1.59 -r1.60 basesrc/usr.bin/make/var.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.