-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The following changes apply to the strict mode only. src/cmd/INIT/mamake.c: - Use a state flag (state.strict) instead of a function for the strict mode. Amend the `setv` command to set this flag if the varname is `MAMAKE_STRICT`. This is simpler and more elegant. - Produce a deprecation warning on assigning the 'generated', 'archive', and 'joint' attributes. Ignore direct assignment of 'generated' in strict mode. (It is implicitly assigned by 'exec'. The other two have always been simply ignored.) - Make 'info' and 'meta' unknown commands. (These have always been ignored and I'd already removed all use of them before introducing the strict mode, so no backward compat problem). src/{cmd/INIT,lib/libast}/Mamfile: - Do not run mktest to regenerate .tst regression test scripts from .rt originals. It is not correct to do this at build time, as the originals do not contain the expected output -- it is obtained from the programs tested, assumed to be correct, and stored in the .tst output. So this must always be done manually and verified carefully before committing the changes.
- Loading branch information
Showing
6 changed files
with
67 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters