Source-Changes archive

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

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   sjg
Date:           Thu Jan 27 06:02:59 UTC 2022

Modified Files:
        src/usr.bin/make: main.c make.1 make.h meta.c parse.c var.c
        src/usr.bin/make/unit-tests: meta-cmd-cmp.exp meta-cmd-cmp.mk

Log Message:
Allow local variable assignments in dependency lines

The variable is set in the context of the target.
This syntax has been supported by gmake for ~ever.
If necessary a makefile can set .MAKE.TARGET_LOCAL_VARIABLES=false
to disable this.

Expose GetBooleanExpr so parse.c can use it.


To generate a diff of this commit:
cvs rdiff -u -r1.575 -r1.576 src/usr.bin/make/main.c
cvs rdiff -u -r1.301 -r1.302 src/usr.bin/make/make.1
cvs rdiff -u -r1.290 -r1.291 src/usr.bin/make/make.h
cvs rdiff -u -r1.194 -r1.195 src/usr.bin/make/meta.c
cvs rdiff -u -r1.655 -r1.656 src/usr.bin/make/parse.c
cvs rdiff -u -r1.1005 -r1.1006 src/usr.bin/make/var.c
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/meta-cmd-cmp.exp
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/meta-cmd-cmp.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index