Module Name: src Committed By: sjg Date: Thu Nov 12 23:35:21 UTC 2020
Modified Files: src/usr.bin/make: main.c make.1 make.h parse.c src/usr.bin/make/unit-tests: Makefile Added Files: src/usr.bin/make/unit-tests: objdir-writable.exp objdir-writable.mk Log Message: Pass a writable flag to Main_SetObjdir to control writable check For curdir and an explicit .OBJDIR target, we allow for the directory to be read-only. During InitObjdir we otherwise default to requiring objdir to be writable - this can be controlled by env variable MAKE_OBJDIR_CHECK_WRITABLE Add unit-tests/objdir-writable Reviewed by: christos rillig To generate a diff of this commit: cvs rdiff -u -r1.455 -r1.456 src/usr.bin/make/main.c cvs rdiff -u -r1.290 -r1.291 src/usr.bin/make/make.1 cvs rdiff -u -r1.205 -r1.206 src/usr.bin/make/make.h cvs rdiff -u -r1.437 -r1.438 src/usr.bin/make/parse.c cvs rdiff -u -r1.197 -r1.198 src/usr.bin/make/unit-tests/Makefile cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/objdir-writable.exp \ src/usr.bin/make/unit-tests/objdir-writable.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.