CVS log for src/usr.bin/make/make.1
Up to [cvs.NetBSD.org] / src / usr.bin / make
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.381: download - view: text, markup, annotated - select for diffs
Thu Nov 14 19:30:13 2024 UTC (3 weeks, 4 days ago) by sjg
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.380: preferred, colored
Changes since revision 1.380: +10 -3
lines
make.1 clarify use of MAKEOBJDIRPREFIX
Note that MAKEOBJDIRPREFIX should be an absolute path.
Also that MAKEOBJDIRPREFIX and MAKEOBJDIR *can* be set
via makefile variables, but that care is needed to avoid
unwanted side effects.
Revision 1.380: download - view: text, markup, annotated - select for diffs
Sun Nov 10 02:39:14 2024 UTC (4 weeks, 2 days ago) by sjg
Branches: MAIN
Diff to: previous 1.379: preferred, colored
Changes since revision 1.379: +14 -6
lines
make: allow -f .../Makefile
If the arg to -f or an entry in .MAKE.MAKEFILE_PREFERENCE
starts with ".../" look for the rest of the path in .CURDIR
and above.
Reviewed by: rillig
Revision 1.379: download - view: text, markup, annotated - select for diffs
Sat Sep 21 23:42:53 2024 UTC (2 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.378: preferred, colored
Changes since revision 1.378: +4 -6
lines
Only list the defaults for MAKEFILE_PREFERENCE once
Revision 1.378: download - view: text, markup, annotated - select for diffs
Mon Jul 1 21:02:26 2024 UTC (5 months, 1 week ago) by sjg
Branches: MAIN
Diff to: previous 1.377: preferred, colored
Changes since revision 1.377: +5 -2
lines
make: add :tc to capitalize first letter of each word
This is very hard to do without :tc
Reviewed by: rillig
Revision 1.377: download - view: text, markup, annotated - select for diffs
Sat Jun 1 06:26:36 2024 UTC (6 months, 1 week ago) by sjg
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.376: preferred, colored
Changes since revision 1.376: +9 -8
lines
make: add .export-all
An explicit syntax for exporting all global variables is much safer
than allowing .export with no argument to do the same.
Add .export-all and have .export with no argument throw a warning saying
to use .export-all
Reviewed by: rillig
Revision 1.376: download - view: text, markup, annotated - select for diffs
Tue May 28 19:09:04 2024 UTC (6 months, 1 week ago) by sjg
Branches: MAIN
Diff to: previous 1.375: preferred, colored
Changes since revision 1.375: +15 -5
lines
make: allow debugging the warning about .OBJDIR
When make complains about an unwritable .OBJDIR
it is not always obvious how we derrived that value.
If MAKE_DEBUG_OBJDIR_CHECK_WRITABLE is enabled call PrintOnError
so we can examine variables that are likely relevant.
Fix description of MAKE_OBJDIR_CHECK_WRITABLE in make.1
Revision 1.375: download - view: text, markup, annotated - select for diffs
Sun Mar 10 02:53:37 2024 UTC (9 months ago) by sjg
Branches: MAIN
Diff to: previous 1.374: preferred, colored
Changes since revision 1.374: +10 -7
lines
make: record exit status in GNode
SetErrorVars can now set .ERROR_EXIT which allows
a .ERROR target to ignore the case of .ERROR_EXIT == 6
which means failure happened elsewhere.
Reviewed by:
Revision 1.374: download - view: text, markup, annotated - select for diffs
Thu Jan 25 21:00:59 2024 UTC (10 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.373: preferred, colored
Changes since revision 1.373: +4 -4
lines
Note that in both :U and :D newval may be empty
Revision 1.373: download - view: text, markup, annotated - select for diffs
Thu Jan 25 07:35:46 2024 UTC (10 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.372: preferred, colored
Changes since revision 1.372: +4 -3
lines
Indicate that for :U newval is optional
Revision 1.372: download - view: text, markup, annotated - select for diffs
Sun Dec 24 16:48:30 2023 UTC (11 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.371: preferred, colored
Changes since revision 1.371: +3 -3
lines
Compat_RunCommand call Shell_Init is shellPath is NULL
Since .SHELL is potentially used in compat mode as well,
the man page description should not imply it is only used in jobs mode.
Remove path="sh" from shell-sh unit-test - and it would have detected
this bug.
Reviewed by: rillig
Revision 1.371: download - view: text, markup, annotated - select for diffs
Sun Sep 10 21:52:36 2023 UTC (14 months, 4 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.370: preferred, colored
Changes since revision 1.370: +2 -2
lines
make: fix typo
Revision 1.370: download - view: text, markup, annotated - select for diffs
Sat Sep 9 16:41:04 2023 UTC (15 months ago) by sjg
Branches: MAIN
Diff to: previous 1.369: preferred, colored
Changes since revision 1.369: +6 -1
lines
Add .MAKE.JOBS.C to indicate wether -jC is supported
Revision 1.369: download - view: text, markup, annotated - select for diffs
Sat Sep 9 01:30:59 2023 UTC (15 months ago) by sjg
Branches: MAIN
Diff to: previous 1.368: preferred, colored
Changes since revision 1.368: +8 -2
lines
make: allow -j to compute a multiple of ncpu
If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating point
number or ends in 'C' compute .MAKE.JOBS as a multiple of _SC_NPROCESSORS_ONLN
Based on a suggestion from des at freebsd.org
Discussed with: rillig, christos
Revision 1.368: download - view: text, markup, annotated - select for diffs
Sun Aug 20 19:58:15 2023 UTC (15 months, 3 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.367: preferred, colored
Changes since revision 1.367: +6 -2
lines
make.1: note that %s should only be used with :localtime
Revision 1.367: download - view: text, markup, annotated - select for diffs
Wed Jun 28 06:15:07 2023 UTC (17 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.366: preferred, colored
Changes since revision 1.366: +10 -9
lines
make.1: clean up wording, clarify scope of '!' in conditions
Revision 1.366: download - view: text, markup, annotated - select for diffs
Wed May 10 18:22:33 2023 UTC (19 months ago) by sjg
Branches: MAIN
Diff to: previous 1.365: preferred, colored
Changes since revision 1.365: +4 -4
lines
Make :mtime operate on each word in variable value.
Reviewed by: rillig
Revision 1.365: download - view: text, markup, annotated - select for diffs
Tue May 9 20:53:23 2023 UTC (19 months ago) by sjg
Branches: MAIN
Diff to: previous 1.364: preferred, colored
Changes since revision 1.364: +8 -1
lines
make: :mtime=error throw error on stat(2) failure
Sometimes we want fatal error if stat fails on the
presumed pathname.
Revision 1.364: download - view: text, markup, annotated - select for diffs
Tue May 9 20:14:27 2023 UTC (19 months ago) by sjg
Branches: MAIN
Diff to: previous 1.363: preferred, colored
Changes since revision 1.363: +14 -2
lines
make: add :mtime to provide mtime of file
The value of the variable is passed to stat(2)
and st_mtime is new value.
An optional arg can be used if stat(2) fails, otherwise
the current time is used.
See varmod-mtime.mk for usage examples.
Revision 1.363: download - view: text, markup, annotated - select for diffs
Sun May 7 16:43:50 2023 UTC (19 months ago) by sjg
Branches: MAIN
Diff to: previous 1.362: preferred, colored
Changes since revision 1.362: +1 -3
lines
make.1: lose the trailing blank lines
Revision 1.362: download - view: text, markup, annotated - select for diffs
Sun May 7 16:32:47 2023 UTC (19 months ago) by sjg
Branches: MAIN
Diff to: previous 1.361: preferred, colored
Changes since revision 1.361: +5 -7
lines
make: fix description of .PREFIX
For at least 20 years, the setting of .PREFIX in make
has not matched the documentation.
Since the documented behavior does not match reality or
POSIX make, fix the documentation.
In FindDepsRegularPath str_basename is applied to .PREFIX
this is wrong, but I was unable to verify fixing it
was benign in NetBSD build - my NetBSD box (7.2)
was unable to build known-good src with or without any patches.
For now just document the behavior more accurately.
Revision 1.361: download - view: text, markup, annotated - select for diffs
Thu Mar 23 03:29:28 2023 UTC (20 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.360: preferred, colored
Changes since revision 1.360: +24 -3
lines
Document unexplained *** Error code 6
Revision 1.360: download - view: text, markup, annotated - select for diffs
Thu Jan 26 20:48:17 2023 UTC (22 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.359: preferred, colored
Changes since revision 1.359: +8 -2
lines
make: some variables should be read-only
Make variables like .newline and .MAKE.{GID,PID,PPID,UID} read-only.
Reviewed by: rillig
Revision 1.359: download - view: text, markup, annotated - select for diffs
Tue Jan 24 00:24:02 2023 UTC (22 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.358: preferred, colored
Changes since revision 1.358: +18 -1
lines
make: .SYSPATH: to add dirs to sysIncPath
.SYSPATH: with no sources will clear sysIncPath
otherwise sources are added
Reviewed by: rillig
Revision 1.358: download - view: text, markup, annotated - select for diffs
Mon Jan 23 23:01:52 2023 UTC (22 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.357: preferred, colored
Changes since revision 1.357: +6 -2
lines
make: .[NO]READONLY for control of read-only variables
Reviewed by: rillig
Revision 1.350.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 2 10:11:24 2023 UTC (23 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Diff to: previous 1.350: preferred, colored; next MAIN 1.351: preferred, colored
Changes since revision 1.350: +167 -101
lines
Pull up following revision(s) (requested by rillig in ticket #31):
usr.bin/make/make.1: revision 1.351
usr.bin/make/make.1: revision 1.352
usr.bin/make/make.1: revision 1.353
usr.bin/make/make.1: revision 1.354
usr.bin/make/make.1: revision 1.355
usr.bin/make/make.1: revision 1.356
make.1: reduce indentation of the long list of variable names
make.1: move description of .MAKE.MODE below the .MAKE.META block
make.1: use consistent markup for boolean flags
make.1: sort list of built-in variables
make.1: sync list of built-in variables with reality
Fixes PR 57029.
make.1: fix markup
Revision 1.357: download - view: text, markup, annotated - select for diffs
Sun Jan 1 21:02:09 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.356: preferred, colored
Changes since revision 1.356: +2 -2
lines
make.1: bump date
Revision 1.356: download - view: text, markup, annotated - select for diffs
Sun Jan 1 19:55:25 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.355: preferred, colored
Changes since revision 1.355: +2 -2
lines
make.1: fix markup
Revision 1.355: download - view: text, markup, annotated - select for diffs
Sun Jan 1 19:10:58 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.354: preferred, colored
Changes since revision 1.354: +73 -8
lines
make.1: sync list of built-in variables with reality
Fixes PR 57029.
Revision 1.354: download - view: text, markup, annotated - select for diffs
Sun Jan 1 17:27:40 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.353: preferred, colored
Changes since revision 1.353: +46 -45
lines
make.1: sort list of built-in variables
Revision 1.353: download - view: text, markup, annotated - select for diffs
Sun Jan 1 17:17:09 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.352: preferred, colored
Changes since revision 1.352: +5 -5
lines
make.1: use consistent markup for boolean flags
Revision 1.352: download - view: text, markup, annotated - select for diffs
Sun Jan 1 17:15:07 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.351: preferred, colored
Changes since revision 1.351: +50 -50
lines
make.1: move description of .MAKE.MODE below the .MAKE.META block
Revision 1.351: download - view: text, markup, annotated - select for diffs
Sun Jan 1 16:49:27 2023 UTC (23 months, 1 week ago) by rillig
Branches: MAIN
Diff to: previous 1.350: preferred, colored
Changes since revision 1.350: +2 -2
lines
make.1: reduce indentation of the long list of variable names
Revision 1.350: download - view: text, markup, annotated - select for diffs
Tue Nov 29 23:56:05 2022 UTC (2 years ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.349: preferred, colored
Changes since revision 1.349: +4 -3
lines
make.1: clarify in which case an expression may omit braces
Revision 1.349: download - view: text, markup, annotated - select for diffs
Tue Nov 15 07:58:00 2022 UTC (2 years ago) by rillig
Branches: MAIN
Diff to: previous 1.348: preferred, colored
Changes since revision 1.348: +5 -4
lines
make.1: make horizontal and vertical spacing more consistent
Revision 1.348: download - view: text, markup, annotated - select for diffs
Sun Oct 2 23:36:41 2022 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.347: preferred, colored
Changes since revision 1.347: +144 -134
lines
make.1: clean up style, typography, accuracy
In a code example, replace the deprecated `pwd` with the preferred form
$$(pwd).
Shorten the paragraph about escaping a dollar in modifiers, as the
various escaping mechanisms are described in the section 'Expansion of
variables'.
Summarize the previously many cases of the ':from=to' modifier to be
simpler to understand, actually mention what the pattern matching
character '%' can match.
Describe the syntax of function call expressions in conditionals.
Previously, only the function names had been documented.
Revision 1.347: download - view: text, markup, annotated - select for diffs
Thu Sep 15 14:49:36 2022 UTC (2 years, 2 months ago) by uwe
Branches: MAIN
Diff to: previous 1.346: preferred, colored
Changes since revision 1.346: +12 -11
lines
make(1): fix and simplify optional negation on conditional
Revision 1.346: download - view: text, markup, annotated - select for diffs
Thu Sep 15 14:39:33 2022 UTC (2 years, 2 months ago) by uwe
Branches: MAIN
Diff to: previous 1.345: preferred, colored
Changes since revision 1.345: +2 -4
lines
make(1): use .Dl for one-line literal display
Revision 1.345: download - view: text, markup, annotated - select for diffs
Wed Sep 14 20:39:23 2022 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.344: preferred, colored
Changes since revision 1.344: +13 -10
lines
make.1: make typography more consistent
Revision 1.344: download - view: text, markup, annotated - select for diffs
Wed Sep 14 20:18:24 2022 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.343: preferred, colored
Changes since revision 1.343: +9 -10
lines
make.1: fix typography, especially spacing
Revision 1.343: download - view: text, markup, annotated - select for diffs
Mon Sep 12 07:21:10 2022 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.342: preferred, colored
Changes since revision 1.342: +22 -22
lines
make.1: fix style of ellipsis
In most places, '...' is not intended to be entered verbatim, instead it
is a placeholder, so don't use a fixed-width font for it.
Revision 1.342: download - view: text, markup, annotated - select for diffs
Mon Sep 12 07:13:02 2022 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.341: preferred, colored
Changes since revision 1.341: +2 -3
lines
make.1: remove extraneous .El, update date
Revision 1.341: download - view: text, markup, annotated - select for diffs
Mon Sep 12 07:10:59 2022 UTC (2 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.340: preferred, colored
Changes since revision 1.340: +33 -20
lines
make.1: split section on directives into several subsections
Directives such as .error or .undef are not conditionals. Having these
directives mixed in a single list made it more difficult to see how the
directives relate.
Revision 1.340: download - view: text, markup, annotated - select for diffs
Fri Sep 9 10:57:39 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.339: preferred, colored
Changes since revision 1.339: +2 -2
lines
make(1): add space before the punctuation argument
Revision 1.339: download - view: text, markup, annotated - select for diffs
Fri Sep 9 06:23:36 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.338: preferred, colored
Changes since revision 1.338: +38 -48
lines
make.1: clean up and make the description more accurate
Most changes are editorial. Notable exceptions are:
The ':Q' in MAKE_PRINT_VAR_ON_ERROR was wrongly added in the previous
commit. As that variable does not produce a shell command, there is no
point in quoting the characters.
Since 2012.10.07.19.17.31, make doesn't complain anymore if a shell
command in compat mode expands to an empty string, which removes the
need to "keep make happy".
Revision 1.338: download - view: text, markup, annotated - select for diffs
Fri Sep 9 05:27:32 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.337: preferred, colored
Changes since revision 1.337: +17 -15
lines
make.1: only use .Pa for actual pathnames
Revision 1.337: download - view: text, markup, annotated - select for diffs
Thu Sep 8 20:22:55 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.336: preferred, colored
Changes since revision 1.336: +185 -185
lines
make.1: rewrite many details in a more precise way
Revision 1.336: download - view: text, markup, annotated - select for diffs
Wed Sep 7 23:34:56 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.335: preferred, colored
Changes since revision 1.335: +53 -58
lines
make.1: clean up style, grammar, punctuation, improve clarity
Revision 1.335: download - view: text, markup, annotated - select for diffs
Wed Sep 7 22:57:43 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.334: preferred, colored
Changes since revision 1.334: +27 -27
lines
make.1: remove redundant 'then' from conditional sentences.
Revision 1.334: download - view: text, markup, annotated - select for diffs
Wed Sep 7 22:36:48 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.333: preferred, colored
Changes since revision 1.333: +81 -92
lines
make.1: use present tense in conditional sentences
These sentences are about general, timeless rules, rather than about
predictions about the future.
Revision 1.333: download - view: text, markup, annotated - select for diffs
Mon Sep 5 17:13:36 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.332: preferred, colored
Changes since revision 1.332: +23 -18
lines
make.1: clarify interpretation of conditionals
String literals in quotes are never interpreted as numbers.
The operators '<', '<=', '>', '>=' are only allowed in numeric
comparisons.
Avoid the term 'C relational operators' since in C, the relational
operators exclude '==' and '!=', which are called equality operators
instead.
Revision 1.332: download - view: text, markup, annotated - select for diffs
Sat Sep 3 00:50:07 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.331: preferred, colored
Changes since revision 1.331: +3 -5
lines
make: clean up handling of .break in .for loops
Move For_Break further up, as the functions in that file are sorted from
small to big. The cast from size_t to unsigned int is required by lint.
In parse.c, move the code into a separate function to keep
ParseDirective small. Its only job is to parse the directive and then
delegate to another function doing the actual work.
In the manual page, remove empty lines.
In the test, ensure that .break stops processing of the .for loop
immediately; anything after the .break is not processed anymore.
Replace ':=' with '=', as there is no need to evaluate '$i' early.
Check the expected value in the .mk file instead of the .exp file, to
keep the reading scope as small as possible.
Revision 1.331: download - view: text, markup, annotated - select for diffs
Fri Sep 2 16:24:31 2022 UTC (2 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.330: preferred, colored
Changes since revision 1.330: +10 -2
lines
make: add .break to terminate .for loop early
When .break is encountered within a .for loop
it causes immediate termination.
Outside of a .for loop .break causes a parse error.
Reviewed by: christos
Revision 1.330: download - view: text, markup, annotated - select for diffs
Sun Aug 14 22:11:20 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.329: preferred, colored
Changes since revision 1.329: +16 -6
lines
make(1): mark up the variable expansion example
Revision 1.329: download - view: text, markup, annotated - select for diffs
Sun Aug 14 21:57:26 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.328: preferred, colored
Changes since revision 1.328: +4 -4
lines
make(1): use .Dl for .MAKE.JOB.PREFIX examples
Revision 1.328: download - view: text, markup, annotated - select for diffs
Sun Aug 14 21:53:58 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.327: preferred, colored
Changes since revision 1.327: +18 -14
lines
make(1): prettify .for index variable example
Revision 1.327: download - view: text, markup, annotated - select for diffs
Sun Aug 14 21:48:05 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.326: preferred, colored
Changes since revision 1.326: +12 -10
lines
make(1): more .Va fixes
Revision 1.326: download - view: text, markup, annotated - select for diffs
Sun Aug 14 20:19:27 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.325: preferred, colored
Changes since revision 1.325: +3 -3
lines
make(1): mark up FRC in BUGS
Revision 1.325: download - view: text, markup, annotated - select for diffs
Sun Aug 14 20:07:18 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.324: preferred, colored
Changes since revision 1.324: +37 -13
lines
make(1): Use .Dq instead of literal ASCII quotes
Revision 1.324: download - view: text, markup, annotated - select for diffs
Sun Aug 14 20:04:07 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.323: preferred, colored
Changes since revision 1.323: +20 -20
lines
make(1): Be consistent about using .Va for make variables
Revision 1.323: download - view: text, markup, annotated - select for diffs
Sun Aug 14 19:26:39 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.322: preferred, colored
Changes since revision 1.322: +4 -4
lines
make.1: fix accidental removal of the directive 'export'
Revision 1.322: download - view: text, markup, annotated - select for diffs
Sun Aug 14 10:14:58 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.321: preferred, colored
Changes since revision 1.321: +33 -33
lines
make(1): more .Ar fixes
Revision 1.321: download - view: text, markup, annotated - select for diffs
Sun Aug 14 09:47:29 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.320: preferred, colored
Changes since revision 1.320: +4 -4
lines
make(1): ".../" in -m option description is literal ".../"
Revision 1.320: download - view: text, markup, annotated - select for diffs
Sun Aug 14 09:11:33 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.319: preferred, colored
Changes since revision 1.319: +2 -2
lines
make(1): Consistent formatting for -i and -s descriptions.
Revision 1.319: download - view: text, markup, annotated - select for diffs
Sun Aug 14 09:08:29 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.318: preferred, colored
Changes since revision 1.318: +37 -31
lines
make(1): Fix markup of the -d[flags] section.
The debug flags are literals, not syntactic variables (.Ar).
While here use .Dq for quoted words in the text.
Revision 1.318: download - view: text, markup, annotated - select for diffs
Sun Aug 14 08:49:00 2022 UTC (2 years, 3 months ago) by uwe
Branches: MAIN
Diff to: previous 1.317: preferred, colored
Changes since revision 1.317: +8 -8
lines
make(1): Fix some obviously wrong uses of .Va
Revision 1.317: download - view: text, markup, annotated - select for diffs
Sun Aug 14 04:17:09 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.316: preferred, colored
Changes since revision 1.316: +28 -19
lines
make.1: clean up formatting and grammar, be more accurate
Revision 1.316: download - view: text, markup, annotated - select for diffs
Sun Aug 14 04:12:29 2022 UTC (2 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.315: preferred, colored
Changes since revision 1.315: +3 -3
lines
make.1: not every '-' is a flag
Revision 1.315: download - view: text, markup, annotated - select for diffs
Tue Jul 12 23:47:00 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.314: preferred, colored
Changes since revision 1.314: +15 -15
lines
make.1: fix markup for variable modifiers, add italic correction
Revision 1.314: download - view: text, markup, annotated - select for diffs
Tue Jul 12 23:03:52 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.313: preferred, colored
Changes since revision 1.313: +6 -6
lines
make.1: fix markup for options, they are not arguments
Revision 1.313: download - view: text, markup, annotated - select for diffs
Tue Jul 12 22:59:43 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.312: preferred, colored
Changes since revision 1.312: +5 -4
lines
make.1: fix ugly line break in PostScript output
Revision 1.312: download - view: text, markup, annotated - select for diffs
Tue Jul 12 22:51:12 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.311: preferred, colored
Changes since revision 1.311: +6 -6
lines
make.1: fix markup
Not all square brackets are options, some are wildcards.
Revision 1.311: download - view: text, markup, annotated - select for diffs
Tue Jul 12 22:45:05 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.310: preferred, colored
Changes since revision 1.310: +118 -118
lines
make.1: replace redundant .Ql with .Sq
Revision 1.310: download - view: text, markup, annotated - select for diffs
Tue Jul 12 17:45:11 2022 UTC (2 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.309: preferred, colored
Changes since revision 1.309: +48 -38
lines
make: describe variable assignment and evaluation more precisely
Variables in make are not "much like variables in the shell", they only
look that way. Their behavior is more similar to C preprocessor macros.
The spaces around a variable value are removed when parsing the variable
assignment, not after evaluating it.
Before describing the variable assignment operators, introduce the
general syntax of a variable assignment.
Add a separate subsection "Expansion of variables", since assignment and
expansion are unrelated. Illustrate how variable expansions look
instead of describing it in many words.
Describe how variables are expanded in conditionals, since that is
different from everywhere else.
Revision 1.309: download - view: text, markup, annotated - select for diffs
Sat May 7 17:49:47 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.308: preferred, colored
Changes since revision 1.308: +8 -6
lines
make: allow to randomize build order of targets
In complex dependency structures, when a build fails, a probable cause
is a missing dependency declaration between some files. In compat mode,
the build order is deterministic, in jobs mode, it is somewhat
deterministic. To explore more edge cases, add the line ".MAKE.MODE +=
randomize-targets" somewhere in the makefile.
Fixes PR bin/45226 by riastradh. Reviewed by christos.
Revision 1.308: download - view: text, markup, annotated - select for diffs
Mon Apr 18 15:06:27 2022 UTC (2 years, 7 months ago) by rillig
Branches: MAIN
Diff to: previous 1.307: preferred, colored
Changes since revision 1.307: +10 -12
lines
make: only switch to POSIX mode if '.POSIX:' is the first line
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
says that in order to make a makefile POSIX-conforming, its first
non-comment line must be the special dependency line '.POSIX:' without
any source dependencies.
Previously, make switched to POSIX mode even if such a line occurred
anywhere else, which was allowed by POSIX but was deep in the
"unspecified behavior" area. For NetBSD make, there is no big
difference since it doesn't ship any <posix.mk> file, this change mainly
affects the bmake distribution.
Previously, makefiles that contain '.POSIX:' somewhere in the middle
could fail due to <posix.mk> resetting .SUFFIXES, among other things.
Suggested by Simon J. Gerraty, who also reviewed an earlier version of
this change.
Revision 1.307: download - view: text, markup, annotated - select for diffs
Sat Mar 26 15:39:58 2022 UTC (2 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.306: preferred, colored
Changes since revision 1.306: +8 -1
lines
Mention 'make -r' with .POSIX
Revision 1.306: download - view: text, markup, annotated - select for diffs
Fri Mar 25 21:16:04 2022 UTC (2 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.305: preferred, colored
Changes since revision 1.305: +14 -2
lines
Include posix.mk when .POSIX: first encountered
Since .POSIX: is required to be the first non-comment line
in a Makefile, including ${MAKE_POSIX_MK} or whatever _PATH_POSIX_MK is
set to at this point is equivalent to an extension of sys.mk
This is a minimal change that can allow a better approximation of
POSIX compliance
Reviewed by: rillig
Revision 1.305: download - view: text, markup, annotated - select for diffs
Wed Feb 9 21:09:24 2022 UTC (2 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.304: preferred, colored
Changes since revision 1.304: +7 -7
lines
make: fix mistakes, spelling and typos in comments and manual page
No binary change for -DNDEBUG.
Revision 1.304: download - view: text, markup, annotated - select for diffs
Sat Jan 29 20:54:58 2022 UTC (2 years, 10 months ago) by sjg
Branches: MAIN
Diff to: previous 1.303: preferred, colored
Changes since revision 1.303: +5 -4
lines
Tweak description of local variable assignments
Revision 1.303: download - view: text, markup, annotated - select for diffs
Sat Jan 29 07:42:10 2022 UTC (2 years, 10 months ago) by sjg
Branches: MAIN
Diff to: previous 1.302: preferred, colored
Changes since revision 1.302: +12 -2
lines
Document quirks of target local variable assignments
Revision 1.302: download - view: text, markup, annotated - select for diffs
Thu Jan 27 06:02:59 2022 UTC (2 years, 10 months ago) by sjg
Branches: MAIN
Diff to: previous 1.301: preferred, colored
Changes since revision 1.301: +28 -6
lines
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.
Revision 1.301: download - view: text, markup, annotated - select for diffs
Thu Jan 13 04:51:50 2022 UTC (2 years, 10 months ago) by sjg
Branches: MAIN
Diff to: previous 1.300: preferred, colored
Changes since revision 1.300: +8 -2
lines
meta.c: add .MAKE.META.CMP_FILTER
On rare occasions it is useful to be able to filter command lines
before comparison.
Revision 1.300: download - view: text, markup, annotated - select for diffs
Sun Dec 12 20:45:48 2021 UTC (2 years, 11 months ago) by sjg
Branches: MAIN
Diff to: previous 1.299: preferred, colored
Changes since revision 1.299: +5 -2
lines
Add .SUFFIXES as read-only variable.
References to ${.SUFFIXES} are handled dynamically in
ParseVarnameLong by calling Suff_NamesStr.
The variable cannot be set normally.
Reviewed by: rillig
Revision 1.299: download - view: text, markup, annotated - select for diffs
Tue Aug 3 07:12:50 2021 UTC (3 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.298: preferred, colored
Changes since revision 1.298: +6 -4
lines
Document :On modifiers in more detail.
Revision 1.298: download - view: text, markup, annotated - select for diffs
Fri Jul 30 22:16:09 2021 UTC (3 years, 4 months ago) by rillig
Branches: MAIN
Diff to: previous 1.297: preferred, colored
Changes since revision 1.297: +2 -2
lines
make: fix typo in manual page, add more tests for the new ':On'
Revision 1.297: download - view: text, markup, annotated - select for diffs
Fri Jul 30 19:55:22 2021 UTC (3 years, 4 months ago) by sjg
Branches: MAIN
Diff to: previous 1.296: preferred, colored
Changes since revision 1.296: +12 -2
lines
Add :On for numeric sort
Reviewed by: christos rillig
Revision 1.296: download - view: text, markup, annotated - select for diffs
Thu Feb 4 21:42:46 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.295: preferred, colored
Changes since revision 1.295: +3 -3
lines
make: rename context and ctxt to scope
This continues the previous commit, in which VAR_GLOBAL, VAR_INTERNAL
and VAR_CMDLINE were renamed.
Renaming the variable 'ctxt' was trivial since that word is used nowhere
else. In the comments though, each occurrence of the word 'context' had
to be checked individually since the word 'context' was not only used
for referring to a variable scope. It is also used to distinguish
different situations where characters are escaped in a certain way
('parsing context') and in a few other expressions.
Revision 1.295: download - view: text, markup, annotated - select for diffs
Wed Dec 23 13:49:12 2020 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.294: preferred, colored
Changes since revision 1.294: +2 -2
lines
make(1): remove trailing whitespace in manual page
Revision 1.294: download - view: text, markup, annotated - select for diffs
Tue Dec 22 20:10:21 2020 UTC (3 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.293: preferred, colored
Changes since revision 1.293: +5 -5
lines
make(1): allow .undef to undefine multiple variables at once
Since make doesn't support variable names containing spaces, this edge
case is not enough reason to stop this feature. Having multiple
variable names as arguments nicely aligns with other directives such as
.for and .export.
Revision 1.293: download - view: text, markup, annotated - select for diffs
Wed Nov 25 00:50:44 2020 UTC (4 years ago) by sjg
Branches: MAIN
Diff to: previous 1.292: preferred, colored
Changes since revision 1.292: +8 -2
lines
Add .MAKE.UID and .MAKE.GID
Revision 1.292: download - view: text, markup, annotated - select for diffs
Sat Nov 14 22:19:13 2020 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.291: preferred, colored
Changes since revision 1.291: +7 -3
lines
make(1): document the -S option
This option has been available at least since 1993-03-21, and for the
same time it has been undocumented.
Revision 1.291: download - view: text, markup, annotated - select for diffs
Thu Nov 12 23:35:21 2020 UTC (4 years ago) by sjg
Branches: MAIN
Diff to: previous 1.290: preferred, colored
Changes since revision 1.290: +11 -2
lines
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
Revision 1.290: download - view: text, markup, annotated - select for diffs
Sun Nov 1 20:24:45 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.289: preferred, colored
Changes since revision 1.289: +4 -4
lines
make(1): fix manual page regarding numerical comparisons
Make uses double, not int, for comparing things.
Revision 1.289: download - view: text, markup, annotated - select for diffs
Fri Aug 28 17:15:04 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.288: preferred, colored
Changes since revision 1.288: +5 -12
lines
make(1): fix manual page about the modifiers of the :C modifier
Revision 1.288: download - view: text, markup, annotated - select for diffs
Sat Aug 22 19:30:58 2020 UTC (4 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.287: preferred, colored
Changes since revision 1.287: +5 -2
lines
Add .SHELL as read-only variable
The .SHELL variable represents the shellPath used to run
scripts.
Reviewed by: rillig, christos
Revision 1.287: download - view: text, markup, annotated - select for diffs
Wed Aug 19 06:10:06 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.286: preferred, colored
Changes since revision 1.286: +30 -30
lines
make(1): fix a few inconsistencies in the manual page
Revision 1.286: download - view: text, markup, annotated - select for diffs
Wed Aug 5 08:50:42 2020 UTC (4 years, 4 months ago) by dholland
Branches: MAIN
Diff to: previous 1.285: preferred, colored
Changes since revision 1.285: +3 -1
lines
Also mention that make dependency operators must be uniform.
This wasn't previously documented, I think.
Revision 1.285: download - view: text, markup, annotated - select for diffs
Wed Aug 5 08:43:24 2020 UTC (4 years, 4 months ago) by dholland
Branches: MAIN
Diff to: previous 1.284: preferred, colored
Changes since revision 1.284: +30 -25
lines
Rework the description of the :, !, and :: dependence operators to make sense.
Bump date.
Revision 1.284: download - view: text, markup, annotated - select for diffs
Fri Jul 31 20:22:10 2020 UTC (4 years, 4 months ago) by sjg
Branches: MAIN
Diff to: previous 1.283: preferred, colored
Changes since revision 1.283: +7 -2
lines
Add -dL for LINT
When parsing variable assignments other than := and if
value contains '$' attempt Var_Subst the same as for :=,
if the value does not parse correctly, we get a fatal error
including file an line number.
This can greatly help with finding the cause of problems.
Reviewed by: christos
Revision 1.283: download - view: text, markup, annotated - select for diffs
Sat Jul 18 21:37:38 2020 UTC (4 years, 4 months ago) by sjg
Branches: MAIN
Diff to: previous 1.282: preferred, colored
Changes since revision 1.282: +4 -2
lines
Add -dh for DEBUG_HASH
Allow tracking of max chain length, to see how well the hash
tables are working.
Pull the actual hash operation into a marco so it can be
easily changed - for experimenting.
The current hash, is pretty good.
Reviewed by: christos
Revision 1.282: download - view: text, markup, annotated - select for diffs
Sat Jun 6 20:28:42 2020 UTC (4 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.281: preferred, colored
Changes since revision 1.281: +2 -2
lines
Remove trailing whitespace.
Revision 1.281: download - view: text, markup, annotated - select for diffs
Fri Jun 5 19:20:46 2020 UTC (4 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.280: preferred, colored
Changes since revision 1.280: +9 -6
lines
make: add :Or for reverse sort
:Or is more efficient than :O:[-1..1]
Reviewed by: christos
Revision 1.280: download - view: text, markup, annotated - select for diffs
Mon Apr 27 20:03:08 2020 UTC (4 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.279: preferred, colored
Changes since revision 1.279: +25 -2
lines
document the SYSV ${VAR:old=new} corner cases.
Revision 1.273.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:16 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.273.2.1: preferred, colored; branchpoint 1.273: preferred, colored; next MAIN 1.274: preferred, colored
Changes since revision 1.273.2.1: +6 -6
lines
Merge changes from current as of 20200406
Revision 1.279: download - view: text, markup, annotated - select for diffs
Tue Feb 4 16:28:29 2020 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp
Diff to: previous 1.278: preferred, colored
Changes since revision 1.278: +2 -2
lines
Remove trailing whitespace.
Revision 1.278: download - view: text, markup, annotated - select for diffs
Mon Feb 3 22:25:17 2020 UTC (4 years, 10 months ago) by uwe
Branches: MAIN
Diff to: previous 1.277: preferred, colored
Changes since revision 1.277: +5 -5
lines
Make delimiters in <file> and "file" literal.
Revision 1.277: download - view: text, markup, annotated - select for diffs
Mon Feb 3 15:47:03 2020 UTC (4 years, 10 months ago) by kamil
Branches: MAIN
Diff to: previous 1.276: preferred, colored
Changes since revision 1.276: +4 -4
lines
Fix usage of angle-brackets and quotes in make(1) manpage
make(1) has commands .include <file> and .include "file",
but the manpage was (inconsistently) rendering <file> with
angle-brackets (e.g. in UTF8 ) and "file" with curly-quotes
in HTML output (but not text).
This is an attempt to fix that and output only literal <file>
and "file" as is actually required in the makefile.fileoutput,
https://reviews.freebsd.org/D21470
Submitted by Mateusz Piotrowski (FreeBSD)
Revision 1.276: download - view: text, markup, annotated - select for diffs
Thu Dec 19 07:14:07 2019 UTC (4 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.275: preferred, colored
Changes since revision 1.275: +12 -2
lines
Revert the filemon removal in bmake, as pointed out by maya we do care
about not introducing divergence with FreeBSD, and the cost of unused
is acceptable here.
Revision 1.275: download - view: text, markup, annotated - select for diffs
Wed Dec 18 07:37:19 2019 UTC (4 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.274: preferred, colored
Changes since revision 1.274: +3 -13
lines
Retire filemon, discussed on tech-kern@.
Revision 1.273.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:21 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +5 -5
lines
Sync with HEAD
Revision 1.274: download - view: text, markup, annotated - select for diffs
Sat Feb 16 07:41:12 2019 UTC (5 years, 9 months ago) by gutteridge
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9
Diff to: previous 1.273: preferred, colored
Changes since revision 1.273: +5 -5
lines
make(1): minor grammar fixes in BUGS section
Revision 1.271.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:11 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.271.4.1: preferred, colored; branchpoint 1.271: preferred, colored; next MAIN 1.272: preferred, colored
Changes since revision 1.271.4.1: +9 -2
lines
Sync with HEAD
Revision 1.266.4.2: download - view: text, markup, annotated - select for diffs
Sat Jun 9 15:35:38 2018 UTC (6 years, 6 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2
Diff to: previous 1.266.4.1: preferred, colored; branchpoint 1.266: preferred, colored; next MAIN 1.267: preferred, colored
Changes since revision 1.266.4.1: +9 -2
lines
Pull up following revision(s) (requested by christos in ticket #870):
sys/lib/libgnuefi/Makefile.inc: revision 1.5
external/mit/xorg/xorg-pkg-ver.mk: revision 1.9
sys/arch/i386/stand/lib/Makefile.inc: revision 1.17
sys/compat/common/Makefile.inc: revision 1.25
usr.bin/make/unit-tests/varquote.exp: revision 1.1, 1.2
sys/lib/libsa/Makefile.inc: revision 1.24
usr.bin/make/var.c: revision 1.220
sys/arch/ia64/stand/efi/libefi/Makefile.inc: revision 1.5
sys/arch/hppa/spmath/Makefile.inc: revision 1.10
usr.bin/make/unit-tests/varquote.mk: revision 1.1, 1.2
usr.bin/make/unit-tests/Makefile: revision 1.53
sys/lib/libkern/Makefile.inc: revision 1.45
sys/arch/acorn32/stand/lib/Makefile.inc: revision 1.4
sys/arch/m68k/fpsp/Makefile.inc: revision 1.21
usr.bin/make/make.1: revision 1.273
sys/lib/libz/Makefile.inc: revision 1.17
- Introduce :q modifier for make variables and make it double escape $'s so
that passing variables to recursive makes with :q works as expected.
- Adjust makefiles that use recursive make to use :q
Discussed on tech-toolchain@
XXX: pullup 8
Revision 1.273: download - view: text, markup, annotated - select for diffs
Sun May 27 01:14:51 2018 UTC (6 years, 6 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.272: preferred, colored
Changes since revision 1.272: +9 -2
lines
- Introduce :q modifier for make variables and make it double escape $'s so
that passing variables to recursive makes with :q works as expected.
- Revert :Q to work as before.
- Adjust makefiles that use recursive make to use :q
Discussed on tech-toolchain@
XXX: pullup 8
Revision 1.271.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:21 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +3 -2
lines
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.272: download - view: text, markup, annotated - select for diffs
Mon Apr 2 04:26:17 2018 UTC (6 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407
Diff to: previous 1.271: preferred, colored
Changes since revision 1.271: +3 -2
lines
Fix bad markup.
Revision 1.266.4.1: download - view: text, markup, annotated - select for diffs
Tue Jul 18 15:26:14 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +7 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #113):
usr.bin/make/main.c: 1.266-1.272
usr.bin/make/make.1: revision 1.267
move some code out of the gigantic main function; no functional change.
--
-V: try to expand the variable again if the value contains a variable.
--
simplify
--
a variable that starts with \\ is not expanded.
--
Remove previous variable expansion code; sjg had already added the code to
do it. Note that the manual page already documents this behavior and does
not need to change:
-dV -V VAR: prints the raw variable
-V VAR: prints the expanded variable
--
make the code look like to 1.266
--
Add -v variable that always expands variables; restore -V the way it was.
Revision 1.271: download - view: text, markup, annotated - select for diffs
Mon Jul 3 21:34:20 2017 UTC (7 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pgoyette-compat-base,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646
Branch point for: pgoyette-compat
Diff to: previous 1.270: preferred, colored
Changes since revision 1.270: +8 -8
lines
Remove workaround for ancient HTML generation code.
Revision 1.270: download - view: text, markup, annotated - select for diffs
Thu Jun 22 13:42:09 2017 UTC (7 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.269: preferred, colored
Changes since revision 1.269: +23 -8
lines
Improve description of -V. Can probably be improved further.
Revision 1.269: download - view: text, markup, annotated - select for diffs
Thu Jun 22 13:34:13 2017 UTC (7 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.268: preferred, colored
Changes since revision 1.268: +3 -3
lines
Whitespace fixes.
Revision 1.268: download - view: text, markup, annotated - select for diffs
Thu Jun 22 13:21:21 2017 UTC (7 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.267: preferred, colored
Changes since revision 1.267: +9 -3
lines
Document what the magic variable .MAKE.EXPAND_VARIABLES actually does.
Revision 1.267: download - view: text, markup, annotated - select for diffs
Mon Jun 19 19:58:24 2017 UTC (7 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.266: preferred, colored
Changes since revision 1.266: +7 -2
lines
Add -v variable that always expands variables; restore -V the way it was.
Revision 1.264.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:54:14 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.264: preferred, colored; next MAIN 1.265: preferred, colored
Changes since revision 1.264: +27 -2
lines
Sync with HEAD
Revision 1.259.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:58:04 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.259: preferred, colored; next MAIN 1.260: preferred, colored
Changes since revision 1.259: +37 -6
lines
Sync with HEAD
Revision 1.266: download - view: text, markup, annotated - select for diffs
Wed Feb 1 18:39:27 2017 UTC (7 years, 10 months ago) by sjg
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
netbsd-8-base,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.265: preferred, colored
Changes since revision 1.265: +7 -9
lines
Since we are avoiding VAR_INTERNAL, allow the variable :_ stores to
to be specified, also allows for multiple stages of modification to
be stashed.
Revision 1.265: download - view: text, markup, annotated - select for diffs
Mon Jan 30 02:46:20 2017 UTC (7 years, 10 months ago) by sjg
Branches: MAIN
Diff to: previous 1.264: preferred, colored
Changes since revision 1.264: +29 -2
lines
Add :range and :_
:range replaces var value with an integer sequence one per word
in the current var value.
:_ stores the current var value in $_ so that it can be referred to
later in the modifier series.
Reviewed by: christos
Revision 1.264: download - view: text, markup, annotated - select for diffs
Sat Jan 14 22:58:04 2017 UTC (7 years, 10 months ago) by sjg
Branches: MAIN
CVS tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.263: preferred, colored
Changes since revision 1.263: +12 -6
lines
Allow providing a utc value to :{gm,local}time
Reviewed by: christos
Revision 1.263: download - view: text, markup, annotated - select for diffs
Fri Aug 26 23:37:54 2016 UTC (8 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
localcount-20160914
Diff to: previous 1.262: preferred, colored
Changes since revision 1.262: +10 -2
lines
Document .DELETE_ON_ERROR.
Revision 1.262: download - view: text, markup, annotated - select for diffs
Thu Aug 18 19:23:20 2016 UTC (8 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.261: preferred, colored
Changes since revision 1.261: +2 -2
lines
Whitespace.
Revision 1.261: download - view: text, markup, annotated - select for diffs
Mon Aug 15 19:20:17 2016 UTC (8 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.260: preferred, colored
Changes since revision 1.260: +5 -2
lines
Add .MAKE.META.IGNORE_FILTER to allow more complicated filtering of filemon data.
The filter is applied to paths Read or Excuted, and if it expands to
nothing, the entry is skipped.
For example; dirdeps.mk can set this to:
.MAKE.META.IGNORE_FILTER = M*/${.MAKE.DEPENDFILE_PREFIX}*
when checking if DIRDEPS_CACHE is up to date, where only Makefile.depend*
are of interest.
Revision 1.260: download - view: text, markup, annotated - select for diffs
Wed Aug 10 23:49:12 2016 UTC (8 years, 4 months ago) by sjg
Branches: MAIN
Diff to: previous 1.259: preferred, colored
Changes since revision 1.259: +15 -3
lines
Set .ERROR_CMD if we can
Revision 1.259: download - view: text, markup, annotated - select for diffs
Fri Jun 3 07:07:37 2016 UTC (8 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Diff to: previous 1.258: preferred, colored
Changes since revision 1.258: +3 -3
lines
Fix typo in width argument; end sentence with dot.
Revision 1.258: download - view: text, markup, annotated - select for diffs
Fri Jun 3 01:16:27 2016 UTC (8 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.257: preferred, colored
Changes since revision 1.257: +14 -3
lines
Refactor the logic for deciding when a .meta file is needed.
Both meta_create() and meta_oodate() now share meta_needed()
to indicate if a .meta file is needed.
This allows for deciding that missing .meta file is cause of out-of-date.
The new knob 'missing-meta' controlls this, and is off by default
since the side effect files of generators like yacc will typically need
.NOMETA to avoid problems.
This however makes it much easier for folk to switch back and forth
with meta mode (eg. FreeBSD's normal build can leverage meta mode for
improved reliablility without need to clean).
Also if .MAKE.MODE does not contain 'nofilemon', the knob
'missing-filemon' allows control as to whether missing filemon data
should cause the target to be out-of-date.
Again off by default.
Revision 1.257: download - view: text, markup, annotated - select for diffs
Tue May 10 23:45:45 2016 UTC (8 years, 7 months ago) by sjg
Branches: MAIN
Diff to: previous 1.256: preferred, colored
Changes since revision 1.256: +5 -2
lines
Allow for ignoring paths that match a set of patterns.
This can be expensive, so use with caution.
Revision 1.256: download - view: text, markup, annotated - select for diffs
Wed Mar 16 00:19:01 2016 UTC (8 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.255: preferred, colored
Changes since revision 1.255: +2 -2
lines
Fix syntax
Revision 1.255: download - view: text, markup, annotated - select for diffs
Mon Mar 14 07:42:15 2016 UTC (8 years, 8 months ago) by matthias
Branches: MAIN
Diff to: previous 1.254: preferred, colored
Changes since revision 1.254: +4 -1
lines
make $@ an alias for $! in archive member rules (compatibility with
other makes).
Revision 1.254: download - view: text, markup, annotated - select for diffs
Sat Feb 20 01:43:28 2016 UTC (8 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.253: preferred, colored
Changes since revision 1.253: +12 -12
lines
Spelling fixes.
Revision 1.253: download - view: text, markup, annotated - select for diffs
Sat Feb 20 01:19:03 2016 UTC (8 years, 9 months ago) by sjg
Branches: MAIN
Diff to: previous 1.252: preferred, colored
Changes since revision 1.252: +14 -2
lines
Add a knob .MAKE.SAVE_DOLLARS to control the behavior of $$ during :=
If TRUE '$$' are not consumed (saved).
If FALSE '$$' becomes '$' just like normal expansion rules.
default is TRUE.
Reviewed by: christos
Revision 1.252: download - view: text, markup, annotated - select for diffs
Thu Feb 18 20:25:08 2016 UTC (8 years, 9 months ago) by sjg
Branches: MAIN
Diff to: previous 1.251: preferred, colored
Changes since revision 1.251: +6 -2
lines
Add .export-literal to avoid the need for $$ dance when trying to put
unexpanded variables into environment.
Reviewed by: christos
Revision 1.251: download - view: text, markup, annotated - select for diffs
Thu Feb 18 06:18:58 2016 UTC (8 years, 9 months ago) by sjg
Branches: MAIN
Diff to: previous 1.250: preferred, colored
Changes since revision 1.250: +2 -2
lines
It's 2016
Revision 1.250: download - view: text, markup, annotated - select for diffs
Thu Feb 18 05:02:49 2016 UTC (8 years, 9 months ago) by sjg
Branches: MAIN
Diff to: previous 1.249: preferred, colored
Changes since revision 1.249: +10 -2
lines
Add support for .dinclude
Like .sinclude missing file will be ignored.
Like .depend stale dependencies will be ignored.
Allows better implementation of auto depend.
Reviewed by: christos
Requested by: Bryan Drewery at FreeBSD.
Revision 1.249: download - view: text, markup, annotated - select for diffs
Fri Jun 5 07:33:40 2015 UTC (9 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.248: preferred, colored
Changes since revision 1.248: +2 -2
lines
Drop trailing whitespace.
Revision 1.248: download - view: text, markup, annotated - select for diffs
Fri Jun 5 05:37:42 2015 UTC (9 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.247: preferred, colored
Changes since revision 1.247: +15 -5
lines
Document .OBJDIR target.
Revision 1.247: download - view: text, markup, annotated - select for diffs
Fri Apr 10 08:43:32 2015 UTC (9 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.246: preferred, colored
Changes since revision 1.246: +2 -2
lines
It's 2015.
Revision 1.246: download - view: text, markup, annotated - select for diffs
Fri Apr 10 08:43:16 2015 UTC (9 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.245: preferred, colored
Changes since revision 1.245: +4 -4
lines
Remove trailing whitespace.
Revision 1.245: download - view: text, markup, annotated - select for diffs
Thu Apr 9 18:22:08 2015 UTC (9 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.244: preferred, colored
Changes since revision 1.244: +2 -2
lines
Forgot to tweak date
Revision 1.244: download - view: text, markup, annotated - select for diffs
Thu Apr 9 18:21:01 2015 UTC (9 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.243: preferred, colored
Changes since revision 1.243: +11 -1
lines
jobs mode handles '-' very differently to compat mode, but this is not
reflected in make.1
Also fix handling to match the behavior described in the comment
of JobPrintCommand (only matters if shell sets hasErrCtl).
A better long term solution is needed since the current behavior
is sub-optimal wrt '-' and different from all other makes.
Reviewed by: christos
Revision 1.243: download - view: text, markup, annotated - select for diffs
Sun Sep 14 08:47:19 2014 UTC (10 years, 2 months ago) by apb
Branches: MAIN
Diff to: previous 1.242: preferred, colored
Changes since revision 1.242: +4 -4
lines
Small markup fixes:
* Use \e instead of \\ to represent a backslash;
* Dont' start a line with .SUFFIXES.
Revision 1.242: download - view: text, markup, annotated - select for diffs
Sun Sep 14 04:32:42 2014 UTC (10 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.241: preferred, colored
Changes since revision 1.241: +2 -2
lines
bump date; I think I'm done for tonight
Revision 1.241: download - view: text, markup, annotated - select for diffs
Sun Sep 14 04:32:07 2014 UTC (10 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.240: preferred, colored
Changes since revision 1.240: +75 -7
lines
Add some notes on compatibility with other make dialects.
I was originally intending to preserve some of Jarmo Jaakkola's notes
on POSIX make from the PR 49085 changes... but really there's no point
wandering into details about $? and such when the big picture is
"almost everything in this manual works only in BSD make".
Maybe the exact details can be stuffed into a chapter of the mythical
make reference manual if that ever gets (re)written.
Revision 1.240: download - view: text, markup, annotated - select for diffs
Sun Sep 14 03:50:28 2014 UTC (10 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.239: preferred, colored
Changes since revision 1.239: +35 -19
lines
Improve the documentation of rule-local variables. Cherry-picked from
the PR 49085 changes, with some adjustments by me.
Revision 1.239: download - view: text, markup, annotated - select for diffs
Sun Sep 14 03:13:49 2014 UTC (10 years, 2 months ago) by dholland
Branches: MAIN
Diff to: previous 1.238: preferred, colored
Changes since revision 1.238: +37 -23
lines
Improvements pertaining to shell commands and chdir. Some of this
appeared in the PR 49085 changes, even though it's not actually
relevant there except tangentially. However, I've reworked most of
that for clarity and added some more.
Revision 1.238: download - view: text, markup, annotated - select for diffs
Tue Sep 9 06:41:56 2014 UTC (10 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.237: preferred, colored
Changes since revision 1.237: +4 -4
lines
Restore -r1.234 of make.1, which was an unrelated fix from sjg pertaining
to the docs for the -w option.
Revision 1.237: download - view: text, markup, annotated - select for diffs
Tue Sep 9 06:39:59 2014 UTC (10 years, 3 months ago) by dholland
Branches: MAIN
Diff to: previous 1.236: preferred, colored
Changes since revision 1.236: +64 -396
lines
Revert the man page as well. (hi joerg)
Revert it to 20140823 (-r1.230), before the controversial commits,
which changed it a good deal.
Revision 1.236: download - view: text, markup, annotated - select for diffs
Fri Sep 5 06:57:20 2014 UTC (10 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.235: preferred, colored
Changes since revision 1.235: +2 -2
lines
Reduce pirate slang.
Revision 1.235: download - view: text, markup, annotated - select for diffs
Thu Sep 4 19:07:47 2014 UTC (10 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.234: preferred, colored
Changes since revision 1.234: +8 -6
lines
document commented out .INVISIBLE and .JOIN.
Revision 1.234: download - view: text, markup, annotated - select for diffs
Thu Aug 28 19:55:00 2014 UTC (10 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.233: preferred, colored
Changes since revision 1.233: +4 -4
lines
Enter/leave flag is -w not -dw
Revision 1.233: download - view: text, markup, annotated - select for diffs
Sat Aug 23 15:05:40 2014 UTC (10 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.232: preferred, colored
Changes since revision 1.232: +264 -27
lines
PR/46096: Jarmo Jaakkola: fix many problems with dependencies (PR 49086)
Quite extensive rewrite of the Suff module. Some ripple effects into
Parse and Targ modules too.
Dependency searches in general were made to honor explicit rules so
implicit and explicit sources are no longer applied on targets that
do not invoke a transformation rule.
Archive member dependency search was rewritten. Explicit rules now
work properly and $(.TARGET) is set correctly. POSIX semantics for
lib(member.o) and .s1.a rules are supported.
.SUFFIXES list maintenance was rewritten so that scanning of existing
rules works when suffixes are added and that clearing the suffix list
removes single suffix rules too. Transformation rule nodes are now
mixed with regular nodes so they are available as regular targets too
if needed (especially after the known suffixes are cleared).
The .NULL target was documented in the manual page, especially to
warn against using it when a single suffix rule would work.
A deprecation warning was also added to the manual and make also
warns the user if it encounters .NULL.
Search for suffix rules no longer allows the explicit dependencies
to override the selected transformation rule. A check is made in
the search that the transformation that would be tried does not
already exist in the chain. This prevents getting stuck in an infinite
loop under specific circumstances. Local variables are now set
before node's children are expanded so dynamic sources work in
multi-stage transformations. Make_HandleUse() no longer expands
the added children for transformation nodes, preventing triple
expansion and allowing the Suff module to properly postpone their
expansion until proper values are set for the local variables.
Directory prefix is no longer removed from $(.PREFIX) if the target
is found via directory search.
The last rule defined is now used instead of the first one (POSIX
requirement) in case a rule is defined multiple times. Everything
defined in the first instance is undone, but things added "globally"
are honored. To implement this, each node tracks attribute bits
which have been set by special targets (global) instead of special
sources (local). They also track dependencies that were added by
a rule with commands (local) instead of rule with no commands (global).
New attribute, OP_FROM_SYS_MK is introduced. It is set on all targets
found in system makefiles so that they are not eligible to become
the main target. We cannot just set OP_NOTMAIN because it is one of
the attributes inherited from transformation and .USE rules and would
make any eligible target that uses a built-in inference rule ineligible.
The $(.IMPSRC) local variable now works like in gmake: it is set to
the first prerequisite for explicit rules. For implicit rules it
is still the implied source.
The manual page is improved regarding the fixed features. Test cases
for the fixed problems are added.
Other improvements in the Suff module include:
- better debug messages for transformation rule search (length of
the chain is now visualized by indentation)
- Suff structures are created, destroyed and moved around by a set
of maintenance functions so their reference counts are easier
to track (this also gets rid of a lot of code duplication)
- some unreasonably long functions were split into smaller ones
- many local variables had their names changed to describe their
purpose instead of their type
Revision 1.232: download - view: text, markup, annotated - select for diffs
Sat Aug 23 15:03:22 2014 UTC (10 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.231: preferred, colored
Changes since revision 1.231: +2 -2
lines
Bump date for previous.
Revision 1.231: download - view: text, markup, annotated - select for diffs
Sat Aug 23 14:50:24 2014 UTC (10 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.230: preferred, colored
Changes since revision 1.230: +125 -32
lines
PR/49085: Jarmo Jaakkola: fix several parsing errors
Don't exit from var.c:Var_Parse() before possible modifiers are handled
on D and F modified versions of local variables. Properly expand $(?D)
and $(?F) too.
Make line continuations in rule's commands POSIX compliant.
Fix the syntax error caused by lib(member) as the last target before
a dependency operator.
Document the line continuation change in the manual page. Also talk
more about the POSIX style local variables and their modifiers.
Add tests covering the fixed problems into d_posix.mk. The test is
a known failure at the moment because of PR 49086 and PR 49092.
[XXX: unconverted tests]
Revision 1.206.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:00 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.206.2.3: preferred, colored; next MAIN 1.207: preferred, colored
Changes since revision 1.206.2.3: +44 -8
lines
Rebase to HEAD as of a few days ago.
Revision 1.195.2.5: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:46 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.195.2.4: preferred, colored; branchpoint 1.195: preferred, colored; next MAIN 1.196: preferred, colored
Changes since revision 1.195.2.4: +119 -29
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.230: download - view: text, markup, annotated - select for diffs
Sat Feb 15 18:55:30 2014 UTC (10 years, 9 months ago) by sjg
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.229: preferred, colored
Changes since revision 1.229: +6 -6
lines
Put .INCLUDEDFROM* in the right section
Revision 1.229: download - view: text, markup, annotated - select for diffs
Sun Jan 19 10:23:29 2014 UTC (10 years, 10 months ago) by apb
Branches: MAIN
Diff to: previous 1.228: preferred, colored
Changes since revision 1.228: +11 -2
lines
Emphasise the fact that the regexp and replacement in :C/// are
subjected to variable expansion before regexp parsing. This was already
documented if you read carefully enough, but more emphasis would have
helped me to figure out why I needed three or four backslashes where I
expected to need only two.
Revision 1.228: download - view: text, markup, annotated - select for diffs
Fri Jan 10 16:28:34 2014 UTC (10 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.227: preferred, colored
Changes since revision 1.227: +2 -2
lines
Bump date for previous.
Revision 1.227: download - view: text, markup, annotated - select for diffs
Fri Jan 10 16:12:52 2014 UTC (10 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.226: preferred, colored
Changes since revision 1.226: +5 -1
lines
add .INCLUDEDFROM{FILE,DIR}
Revision 1.226: download - view: text, markup, annotated - select for diffs
Thu Nov 7 18:50:46 2013 UTC (11 years, 1 month ago) by dholland
Branches: MAIN
Diff to: previous 1.225: preferred, colored
Changes since revision 1.225: +2 -2
lines
apostrophe's do not make plural's.
Revision 1.225: download - view: text, markup, annotated - select for diffs
Sun Oct 27 11:38:13 2013 UTC (11 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.224: preferred, colored
Changes since revision 1.224: +2 -2
lines
Remove trailing whitespace.
Revision 1.224: download - view: text, markup, annotated - select for diffs
Fri Oct 25 22:05:00 2013 UTC (11 years, 1 month ago) by apb
Branches: MAIN
Diff to: previous 1.223: preferred, colored
Changes since revision 1.223: +8 -1
lines
Explain that ${VAR:M*} will normalise the inter-word spacing.
Revision 1.223: download - view: text, markup, annotated - select for diffs
Fri Oct 25 20:57:02 2013 UTC (11 years, 1 month ago) by apb
Branches: MAIN
Diff to: previous 1.222: preferred, colored
Changes since revision 1.222: +3 -3
lines
The :C/// modifier takes an extendedregular expression.
Revision 1.222: download - view: text, markup, annotated - select for diffs
Sun Aug 11 09:53:49 2013 UTC (11 years, 4 months ago) by apb
Branches: MAIN
Diff to: previous 1.221: preferred, colored
Changes since revision 1.221: +3 -3
lines
Use Va markup to show that the "suffix" part of ".PATH.suffix"
is a placeholder, not a literal string.
Also bump date.
Revision 1.221: download - view: text, markup, annotated - select for diffs
Sun Aug 11 04:40:58 2013 UTC (11 years, 4 months ago) by dholland
Branches: MAIN
Diff to: previous 1.220: preferred, colored
Changes since revision 1.220: +7 -1
lines
Document .PATH.suffix:. Noted by apb back in December of 2008
(that's how long my queue is...)
Revision 1.220: download - view: text, markup, annotated - select for diffs
Tue Jul 30 19:09:57 2013 UTC (11 years, 4 months ago) by sjg
Branches: MAIN
Diff to: previous 1.219: preferred, colored
Changes since revision 1.219: +5 -2
lines
Allow an empty .MAKE.JOB.PREFIX to supress output of --- job --- tokens
Revision 1.219: download - view: text, markup, annotated - select for diffs
Tue Jul 16 14:00:53 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Diff to: previous 1.218: preferred, colored
Changes since revision 1.218: +5 -3
lines
More gmake compatibility:
1. add -w flag to print Entering and Leaving directory name the the beginning
and the end of processing.
2. export MAKELEVEL=$((MAKELEVEL + 1)) only in the child environment.
3. when printing error messages, prefix them with the program name [$MAKELEVEL]
for $MAKELEVEL > 0
4. if $MAKEFLAGS consists only of letters assume it is a set of flags (as
allowed by posix), convert them to -f -l -a -g -s, so that they get parsed
properly.
With those fixes gmake -> bmake -> gmake -> bmake etc. works as expected.
Revision 1.218: download - view: text, markup, annotated - select for diffs
Wed Jun 26 20:20:36 2013 UTC (11 years, 5 months ago) by agc
Branches: MAIN
Diff to: previous 1.217: preferred, colored
Changes since revision 1.217: +2 -2
lines
fix a typo
Revision 1.217: download - view: text, markup, annotated - select for diffs
Tue Jun 25 07:08:10 2013 UTC (11 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +4 -4
lines
Remove trailing whitespace.
Revision 1.216: download - view: text, markup, annotated - select for diffs
Tue Jun 25 00:20:54 2013 UTC (11 years, 5 months ago) by sjg
Branches: MAIN
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +7 -2
lines
Add .MAKE.META.IGNORE_PATHS to facilitate local additions to the paths
which should be ignored by meta_oodate().
Revision 1.206.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:29:00 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.206.2.2: preferred, colored
Changes since revision 1.206.2.2: +34 -2
lines
resync from head
Revision 1.215: download - view: text, markup, annotated - select for diffs
Wed May 22 19:35:11 2013 UTC (11 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +3 -3
lines
improve wording
Revision 1.214: download - view: text, markup, annotated - select for diffs
Wed May 22 19:30:35 2013 UTC (11 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +9 -2
lines
put a note on what FRC means.
Revision 1.213: download - view: text, markup, annotated - select for diffs
Sun Mar 31 05:49:51 2013 UTC (11 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +16 -2
lines
Refine the effect of .OODATE on command comparison.
Rather than apply it to the whole script, just the current command line
is affected. This allows a trick like ${.OODATE:M.NOMETA_CMP}
to cause command comparison to be supressed for one command only.
Revision 1.212: download - view: text, markup, annotated - select for diffs
Sat Mar 23 05:31:29 2013 UTC (11 years, 8 months ago) by sjg
Branches: MAIN
CVS tags: agc-symver-base,
agc-symver
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +9 -2
lines
If built with filemon support, set .MAKE.PATH_FILEMON to _PATH_FILEMON
so that makefiles can test for it.
Revision 1.211: download - view: text, markup, annotated - select for diffs
Tue Mar 5 22:01:44 2013 UTC (11 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +6 -2
lines
Add a .STALE special target that gets invoked when dependency files contain
stail entries.
Revision 1.206.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:37 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.206.2.1: preferred, colored
Changes since revision 1.206.2.1: +46 -24
lines
resync with head
Revision 1.210: download - view: text, markup, annotated - select for diffs
Sun Jan 27 18:52:01 2013 UTC (11 years, 10 months ago) by sjg
Branches: MAIN
CVS tags: dholland-make-base
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +46 -24
lines
In SHELL COMMANDS section, provide some clues about different
behavior in jobs vs non-jobs mode.
Move the comment about when shell is skipped to this discussion
from COMPATABILITY.
Remove the incorrect statement about default mode being somehow
neither jobs mode or compat mode (it is compat mode).
Revision 1.206.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:57 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +10 -3
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.195.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 30 19:00:22 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.195.2.3: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.3: +18 -3
lines
sync with head
Revision 1.209: download - view: text, markup, annotated - select for diffs
Mon Oct 8 15:09:48 2012 UTC (12 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +3 -3
lines
It is Sprite, not Sprint; pointed out by Todd Miller.
Revision 1.208: download - view: text, markup, annotated - select for diffs
Mon Sep 17 02:10:46 2012 UTC (12 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +2 -2
lines
spelling
Revision 1.207: download - view: text, markup, annotated - select for diffs
Mon Sep 17 01:23:45 2012 UTC (12 years, 2 months ago) by sjg
Branches: MAIN
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +9 -2
lines
Document the fact that lack of shell meta chars in a command
results in direct exec in compat mode.
Revision 1.206: download - view: text, markup, annotated - select for diffs
Thu Aug 30 22:35:37 2012 UTC (12 years, 3 months ago) by wiz
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +2 -2
lines
Add an s.
Revision 1.205: download - view: text, markup, annotated - select for diffs
Thu Aug 30 22:09:58 2012 UTC (12 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +10 -2
lines
Add a knob to control whether -V fully expands a plain variable by default.
The default retains the traditional NetBSD behavior, but the knob
can be set so that FreeBSD can retain their expected behavior.
This is a compromise to be sure.
Add a debug flag -dV to override the above, so that regardless of
the knob setting, the raw value of a variable can be easily seen.
Revision 1.195.2.3: download - view: text, markup, annotated - select for diffs
Wed May 23 10:08:26 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.195.2.2: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.2: +2 -2
lines
sync with head.
Revision 1.204: download - view: text, markup, annotated - select for diffs
Tue Apr 24 20:12:16 2012 UTC (12 years, 7 months ago) by sjg
Branches: MAIN
CVS tags: yamt-pagecache-base5
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +3 -2
lines
Restore previous behavior - supressing duplicate entries in
.MAKE.MAKEFILES - it is more efficient.
Revision 1.203: download - view: text, markup, annotated - select for diffs
Fri Apr 20 05:33:41 2012 UTC (12 years, 7 months ago) by sjg
Branches: MAIN
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +2 -3
lines
Fix some typos in/around ParseGmakeExport.
Remove the suppresssion of duplicate entries in .MAKE.MAKEFILES
Revision 1.195.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:35 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.195.2.1: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.1: +17 -25
lines
sync with head
Revision 1.202: download - view: text, markup, annotated - select for diffs
Sun Apr 8 22:00:39 2012 UTC (12 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-base4
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +1 -23
lines
Remove unnecessary Bk/Ek pairs from SYNOPSIS.
No effective change except where I used the opportunity to sort options
and/or option descriptions.
Revision 1.201: download - view: text, markup, annotated - select for diffs
Sat Mar 31 14:46:16 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +7 -2
lines
document gmake export command
Revision 1.200: download - view: text, markup, annotated - select for diffs
Fri Feb 3 21:39:25 2012 UTC (12 years, 10 months ago) by sjg
Branches: MAIN
CVS tags: netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +6 -2
lines
Fix description of 'silent' in .MAKE.MODE
Also document 'env' in that context.
Revision 1.199: download - view: text, markup, annotated - select for diffs
Fri Dec 23 05:01:59 2011 UTC (12 years, 11 months ago) by sjg
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +4 -2
lines
Mention limits of :P
Revision 1.198: download - view: text, markup, annotated - select for diffs
Sat Dec 17 04:43:45 2011 UTC (12 years, 11 months ago) by sjg
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +5 -2
lines
The :@ example gives the impression that we encourage the ODE
convention of naming loop variables like .LINK., when in fact
single char variables are far more common in NetBSD.
Revision 1.197: download - view: text, markup, annotated - select for diffs
Sun Nov 13 18:18:35 2011 UTC (13 years ago) by dholland
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +2 -2
lines
Fix xref to the PSD; PR 45568 from Petri Laakso.
Revision 1.195.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:54 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +5 -2
lines
sync with head
Revision 1.196: download - view: text, markup, annotated - select for diffs
Sun Nov 6 19:50:46 2011 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +5 -2
lines
explain how to use .PARSEDIR and .PARSEFILE
Revision 1.195: download - view: text, markup, annotated - select for diffs
Sun Aug 28 03:54:07 2011 UTC (13 years, 3 months ago) by sjg
Branches: MAIN
CVS tags: yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +6 -2
lines
In meta mode, we create .meta files for most targets.
These capture all the interesting data - useful for debugging.
In such cases there is no need to replicate commands in the build log.
Rather than run the entire build .SILENT, allow meta mode to set that flag
per target iff a .meta file is created.
Normal behavior is retained for targets where no .meta file is created,
ensuring that no build data is lost.
Revision 1.194: download - view: text, markup, annotated - select for diffs
Thu Aug 18 15:36:51 2011 UTC (13 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +8 -7
lines
Make some dashes em-dashes (based on patch from Andrew O. Shadoura).
Note behavior of .META flag wrt out-of-date.
Revision 1.193: download - view: text, markup, annotated - select for diffs
Thu Jun 30 20:09:42 2011 UTC (13 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +2 -2
lines
dependant -> dependent
Revision 1.192: download - view: text, markup, annotated - select for diffs
Sat May 28 21:53:54 2011 UTC (13 years, 6 months ago) by cheusov
Branches: MAIN
CVS tags: cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +3 -3
lines
fix bug in section .ORDER of make.1
Revision 1.191: download - view: text, markup, annotated - select for diffs
Wed May 4 21:24:59 2011 UTC (13 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +2 -2
lines
Remove trailing whitespace.
Revision 1.190: download - view: text, markup, annotated - select for diffs
Wed May 4 21:14:56 2011 UTC (13 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +23 -1
lines
Document what I wrote for PR/40115
Revision 1.189: download - view: text, markup, annotated - select for diffs
Wed May 4 20:38:32 2011 UTC (13 years, 7 months ago) by sjg
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +10 -2
lines
Add .MAKE.META.BAILIWICK - to identify the scope of make's control.
meta_oodate: if a file that was written or linked within our bailiwick,
but outside of .OBJDIR is missing, add it to missingFiles.
If we get to the end of the .meta file without seeing it [re]moved,
then consider the target out-of-date.
Revision 1.188: download - view: text, markup, annotated - select for diffs
Mon Apr 11 06:56:50 2011 UTC (13 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +6 -6
lines
Remove trailing whitespace.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Mon Apr 11 01:44:15 2011 UTC (13 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +12 -2
lines
Add :localtime and :gmtime which use value as format string for strftime.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Thu Apr 7 01:40:01 2011 UTC (13 years, 8 months ago) by joerg
Branches: MAIN
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +4 -2
lines
Add the :hash modifier to compute a 32bit hash of an variable.
This uses MurmurHash3 to get a reasonable collission-free hash with
small code. The result is endian neutral.
Revision 1.185: download - view: text, markup, annotated - select for diffs
Sun Mar 27 19:47:46 2011 UTC (13 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +2 -2
lines
Use curdirOk as the token
Revision 1.184: download - view: text, markup, annotated - select for diffs
Sun Mar 27 19:39:21 2011 UTC (13 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +11 -3
lines
When .MAKE.MODE inlcudes 'meta'; 'curdir=true' enables creating .meta
files in .CURDIR - such as when running make in .OBJDIR with a generated
makefile.
Revision 1.182.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:59 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.182: preferred, colored; next MAIN 1.183: preferred, colored
Changes since revision 1.182: +3 -3
lines
Sync with HEAD
Revision 1.183: download - view: text, markup, annotated - select for diffs
Sat Feb 26 01:17:24 2011 UTC (13 years, 9 months ago) by sjg
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -3
lines
Fix rendering of :? example
Revision 1.182: download - view: text, markup, annotated - select for diffs
Tue Sep 14 11:57:03 2010 UTC (14 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +9 -9
lines
Remove trailing spaces, add a few serial commas.
Revision 1.181: download - view: text, markup, annotated - select for diffs
Mon Sep 13 16:32:00 2010 UTC (14 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +2 -2
lines
Bump date
Revision 1.180: download - view: text, markup, annotated - select for diffs
Mon Sep 13 15:36:57 2010 UTC (14 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +69 -4
lines
Add meta.c which implements "meta" mode for make.
In this mode, a .meta file is created for each target, capturing
the expanded commands used, any command output, and if filemon(9)
is available, a record of system calls which are of interest.
Not enabled unless USE_META=yes is set when building make.
Also, if FILEMON_H exists, meta.c will be compiled to use filemon(9).
Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Jun 30 01:03:54 2010 UTC (14 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +7 -2
lines
Document that suffix rules are not applied to PHONY targets, and also
document the .TARGETS builtin variable, which has existed since 4.4 days.
Bump date. Arises from discussion in PR 43502.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Sun Jun 27 00:53:32 2010 UTC (14 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +0 -2
lines
fix previous, the source isn't exactly crystal clear and there's a bug that
makes the behavior misleading.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Sun Jun 27 00:06:32 2010 UTC (14 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +5 -3
lines
Clarify $(.PREFIX) / $*. Bump date.
Revision 1.176: download - view: text, markup, annotated - select for diffs
Thu Jun 10 18:35:22 2010 UTC (14 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +9 -9
lines
Whitespace.
Revision 1.175: download - view: text, markup, annotated - select for diffs
Wed Jun 9 16:58:22 2010 UTC (14 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +40 -3
lines
Explain variable expansion better. Requested by Aleksey Cheusov
Revision 1.174: download - view: text, markup, annotated - select for diffs
Sun Jun 6 17:28:48 2010 UTC (14 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +2 -2
lines
Bump date for previous.
Revision 1.173: download - view: text, markup, annotated - select for diffs
Sun Jun 6 01:13:12 2010 UTC (14 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +13 -2
lines
Add .export-env which tells make to export a variable to the environment
but not to track it - as is done for .export
This allows the variable to be updated without affecting what was put
into the environment.
Older versions of make will simply treat this as .export
Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu May 13 18:10:16 2010 UTC (14 years, 7 months ago) by joerg
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +3 -3
lines
Drop trailing white space. Use .Oo / .Oc explicitly to annotate that the
empty content is intended.
Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu Apr 22 19:15:23 2010 UTC (14 years, 7 months ago) by sjg
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +6 -2
lines
PR: 42850
Reviewed by:
modmisc: since we apply an exists() test to $paths, be conservative
in what we expect.
Run the unit tests with -r -m / so that we do not fail if there
is no sys.mk present.
Revision 1.170: download - view: text, markup, annotated - select for diffs
Thu Apr 15 03:48:39 2010 UTC (14 years, 7 months ago) by sjg
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +7 -2
lines
Add :tA to attempt to resolve to absoute path using realpath().
Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Apr 7 06:45:21 2010 UTC (14 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +44 -44
lines
Sort a bit more.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Wed Apr 7 00:11:27 2010 UTC (14 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +40 -2
lines
Add:
.error "message"
.warning "message"
based on FreeBSD implementation.
add .info while were at it.
.ERROR: a target to run on error.
We pass the failing GNode to PrintOnError so it can set
.ERROR_TARGET.
.MAKE.MAKEFILE_PREFERENCE
As a means to control make's list of prefered makefile names.
(Default: "makefile Makefile")
.MAKE.DEPENDFILE
Names the file to read dependencies from
(Default ".depend")
.MAKE.MODE
Processed after all makefiles are read.
Can put make into "compat" mode (more to come).
Fix:
compat.c: Error code should not be sent to debug_file.
Make_DoAllVar: use DONE_ALLSRC to avoid processing a node multiple times.
ReadMakefile: we can simply use doing_depend to control setting MAKEFILE.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Mon Feb 22 19:20:33 2010 UTC (14 years, 9 months ago) by joerg
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +5 -5
lines
\\ -> \e
Revision 1.166: download - view: text, markup, annotated - select for diffs
Thu Nov 19 06:48:37 2009 UTC (15 years ago) by wiz
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +10 -9
lines
New sentence, new line; remove trailing whitespace.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Thu Nov 19 00:30:24 2009 UTC (15 years ago) by sjg
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +40 -4
lines
Add .unexport - the exact opposite of .export
and .unexport-env which unexport's all previously .export'd globals
as well as clearing environ[].
Allow's sys.mk near total controll.
Reviewed by: apb
Revision 1.164: download - view: text, markup, annotated - select for diffs
Thu Oct 15 02:27:44 2009 UTC (15 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +15 -69
lines
Do not work around ancient groff limits with .Xo/.Xc.
Revision 1.163: download - view: text, markup, annotated - select for diffs
Fri Oct 2 07:43:15 2009 UTC (15 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3
lines
Remove trailing whitespace.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Oct 1 21:40:31 2009 UTC (15 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +7 -4
lines
Add example of how to use the ?: modifier properly.
Revision 1.161: download - view: text, markup, annotated - select for diffs
Tue Sep 8 17:29:20 2009 UTC (15 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +13 -2
lines
Reviewed by: apb
Use .MAKE.LEVEL to track recursion.
The first instance of make will have .MAKE.LEVEL 0, which
can be handy for excluding rules which should not apply
in a sub-make.
gmake and freebsd's make have a similar mechanism, but each
uses a different variable to track it. Since we cannot be
compatible with both, we allow the makefiles to cope if they want
by handling the export of .MAKE.LEVEL+1 in Var_Set().
Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Aug 26 23:18:57 2009 UTC (15 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +2 -2
lines
Bump date
Revision 1.159: download - view: text, markup, annotated - select for diffs
Wed Aug 26 23:17:11 2009 UTC (15 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +14 -1
lines
Add -C directory, same as gmake and freebsd make.
Revision 1.158: download - view: text, markup, annotated - select for diffs
Mon Jun 1 23:28:39 2009 UTC (15 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +3 -3
lines
Missing ':' in .ORDER example
Revision 1.157: download - view: text, markup, annotated - select for diffs
Wed May 13 22:56:42 2009 UTC (15 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +2 -3
lines
Whitespace fix.
Revision 1.153.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:57 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.153: preferred, colored; next MAIN 1.154: preferred, colored
Changes since revision 1.153: +19 -10
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Apr 11 15:51:42 2009 UTC (15 years, 8 months ago) by snj
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +2 -2
lines
Typo fix: many file -> many files.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sat Apr 11 09:44:22 2009 UTC (15 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +2 -2
lines
Bump date for previous.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Apr 11 09:41:18 2009 UTC (15 years, 8 months ago) by apb
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +17 -8
lines
Honour the TMPDIR environment variable instead of always using /tmp
as a place to store temporary files.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat Jan 24 13:02:33 2009 UTC (15 years, 10 months ago) by wiz
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +9 -9
lines
Sort sections. Fix typo (last line).
Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Jan 24 11:56:41 2009 UTC (15 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +26 -38
lines
Correct the definition of the :? modifier - in particular the modifier
applies to the variable name, not its value!
Remove the set of examples that were recently added that failed to
explain why some worked and some didn't.
Add a not to the compatability section about the change in .for loop
substitution post 5.0.
Add a BUGS section.
XXX the BUGS section needs more entries :-)
Revision 1.144.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 16 22:45:39 2009 UTC (15 years, 10 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.144.2.2: preferred, colored; branchpoint 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144.2.2: +2 -2
lines
Pull up following revision(s) (requested by dholland in ticket #271):
usr.bin/make/make.1: revision 1.151
Fix blatantly wrong exposition of .WAIT example.
PR bin/40372 from Gao Ya'nan.
Revision 1.128.2.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 15 23:06:03 2009 UTC (15 years, 10 months ago) by bouyer
Branches: netbsd-4-0
Diff to: previous 1.128.2.1: preferred, colored; next MAIN 1.128.2.2: preferred, colored
Changes since revision 1.128.2.1: +2 -2
lines
Pull up following revision(s) (requested by dholland in ticket #1262):
usr.bin/make/make.1: revision 1.151
Fix blatantly wrong exposition of .WAIT example.
PR bin/40372 from Gao Ya'nan.
Revision 1.128.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 15 23:05:30 2009 UTC (15 years, 10 months ago) by bouyer
Branches: netbsd-4
Diff to: previous 1.128.2.1: preferred, colored; branchpoint 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128.2.1: +2 -2
lines
Pull up following revision(s) (requested by dholland in ticket #1262):
usr.bin/make/make.1: revision 1.151
Fix blatantly wrong exposition of .WAIT example.
PR bin/40372 from Gao Ya'nan.
Revision 1.151: download - view: text, markup, annotated - select for diffs
Mon Jan 12 09:28:10 2009 UTC (15 years, 11 months ago) by dholland
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -2
lines
Fix blatantly wrong exposition of .WAIT example.
PR bin/40372 from Gao Ya'nan.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Sun Dec 21 21:05:27 2008 UTC (15 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +6 -5
lines
Note that an unrecognised word in a .if is the same as in .ifdef and that
such a word has to be white-space separated.
From PR bin/30967 bin/37222 and maybe others!
Revision 1.149: download - view: text, markup, annotated - select for diffs
Sun Dec 21 19:32:16 2008 UTC (15 years, 11 months ago) by dsl
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +13 -16
lines
Add some notes about recursive expansion and expansion of variable names.
Note that any of "${}()" in variable names will be griefsome!
Remove the example of using ::= to apply a modifier to a .for loop
variable as that is no longer necessary.
Remember to change the date :-)
Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Dec 7 16:10:34 2008 UTC (16 years ago) by christos
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +9 -1
lines
explain compatibility mode better.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sun Dec 7 04:50:15 2008 UTC (16 years ago) by christos
Branches: MAIN
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +4 -2
lines
add debug flag for cwd.
Revision 1.144.2.2: download - view: text, markup, annotated - select for diffs
Fri Nov 28 04:42:03 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.144.2.1: preferred, colored; branchpoint 1.144: preferred, colored
Changes since revision 1.144.2.1: +6 -4
lines
Pull up following revision(s) (requested by christos in ticket #135):
usr.bin/make/make.1: revision 1.146
I think ':' is called "colon", not "column" :)
Revision 1.144.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 28 04:39:28 2008 UTC (16 years ago) by snj
Branches: netbsd-5
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +11 -3
lines
Pull up following revision(s) (requested by christos in ticket #135):
usr.bin/make/make.1: revision 1.145
PR/40026: Aleksej Saushev: make(1) doesn't document VPATH, document it.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Wed Nov 26 19:08:05 2008 UTC (16 years ago) by wiz
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +6 -4
lines
I think ':' is called "colon", not "column" :)
Revision 1.145: download - view: text, markup, annotated - select for diffs
Tue Nov 25 20:34:19 2008 UTC (16 years ago) by christos
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +11 -3
lines
PR/40026: Aleksej Saushev: make(1) doesn't document VPATH, document it.
Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu Oct 30 08:44:18 2008 UTC (16 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: netbsd-5-base
Branch point for: netbsd-5
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +5 -4
lines
Whitespace.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Thu Oct 30 00:40:42 2008 UTC (16 years, 1 month ago) by sjg
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +2 -2
lines
Update the modification date
Revision 1.142: download - view: text, markup, annotated - select for diffs
Wed Oct 29 23:30:08 2008 UTC (16 years, 1 month ago) by sjg
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +34 -1
lines
Add some examples of how to use :?
Revision 1.141: download - view: text, markup, annotated - select for diffs
Wed Oct 22 15:04:49 2008 UTC (16 years, 1 month ago) by apb
Branches: MAIN
CVS tags: matt-mips64-base2
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3
lines
Send debugging output to stderr by default, not to stderr.
If you really want debugging to stdout, specify "-dFstdout"
in MAKEFLAGS or on the command line.
Discussed in tech-userlevel.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Sun Oct 19 16:59:08 2008 UTC (16 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +2 -2
lines
Add missing dot before macro.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Sun Oct 19 08:30:10 2008 UTC (16 years, 1 month ago) by apb
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +5 -2
lines
Always make the debugging output unbuffered; in addition, if debugging
is enabled but debugging output is not directed to stdout, then make
stdout line buffered.
Previously, the code to make debug output unbuffered applied only if
debugging to a file, not if debugging to stdout or stderr. Making
stdout line buffered when debugging was suggested by Steven Bellovin.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Oct 18 14:36:40 2008 UTC (16 years, 1 month ago) by apb
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +27 -7
lines
Document how "-dF[+]filename" works.
Revision 1.135.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:29:16 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +37 -17
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Aug 10 23:25:50 2008 UTC (16 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +26 -15
lines
Drop trailing whitespace. Use .Dq.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Sun Aug 10 19:47:29 2008 UTC (16 years, 4 months ago) by cube
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +13 -4
lines
Clarify a bit .SUFFIXES and .IMPSRC. Should fix PR#37822.
Revision 1.131.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:49:02 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.131.2.1: preferred, colored; next MAIN 1.132: preferred, colored
Changes since revision 1.131.2.1: +6 -1
lines
sync with HEAD
Revision 1.135: download - view: text, markup, annotated - select for diffs
Sat Jan 19 06:52:14 2008 UTC (16 years, 10 months ago) by sjg
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
christos-broken
Branch point for: wrstuden-revivesa
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +6 -1
lines
Implement -dl (aka LOUD) to override '@' at the start of script lines.
Based on supplied patch.
PR: 37202
Revision 1.131.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:36:01 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +42 -1
lines
sync with HEAD
Revision 1.134: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:26:36 2007 UTC (17 years, 2 months ago) by sjg
Branches: MAIN
CVS tags: matt-armv6-base,
cube-autoconf-base,
cube-autoconf
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +9 -1
lines
Use .MAKE.MAKEFILES to track all the makefiles that have been read
so they can be used in dependency rules.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Fri Oct 5 15:27:45 2007 UTC (17 years, 2 months ago) by sjg
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +13 -1
lines
Add the ability to .export variables to the environment.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Mon Oct 1 22:14:10 2007 UTC (17 years, 2 months ago) by sjg
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +22 -1
lines
Add the ability to tweak the token output before targets in job mode.
Eg.
.MAKE.JOB.PREFIX=${.newline}---${.MAKE:T}[${.MAKE.PID}]
would produce
---make[1234] target ---
Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:05:30 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +6 -5
lines
Sync w/ NetBSD-4-RC_1
Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Aug 13 06:14:08 2007 UTC (17 years, 4 months ago) by rillig
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -2
lines
A small word can sometimes express things clearer ...
Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 5 20:53:29 2007 UTC (17 years, 6 months ago) by bouyer
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE
Branch point for: netbsd-4-0
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +6 -5
lines
Apply patch (requested by tron in ticket #696):
usr.bin/make/compat.c patch
usr.bin/make/cond.c patch
usr.bin/make/dir.c patch
usr.bin/make/for.c patch
usr.bin/make/main.c patch
usr.bin/make/make.1 patch
usr.bin/make/make.c patch
usr.bin/make/make.h patch
usr.bin/make/nonints.h patch
usr.bin/make/parse.c patch
usr.bin/make/str.c patch
usr.bin/make/targ.c patch
usr.bin/make/util.c patch
usr.bin/make/var.c patch
Synchronize make(1) with HEAD branch to increase perfomance and
improve stability.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Jan 23 22:23:48 2007 UTC (17 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +2 -2
lines
4 -> 4.0, since Nx does not accept all arguments without complaint.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Dec 23 07:25:41 2006 UTC (17 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +6 -5
lines
Fix a typo. Use Nx.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Nov 19 10:08:18 2006 UTC (18 years ago) by dsl
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: wrstuden-fixsa,
netbsd-4
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +70 -14
lines
Update information on .ORDER and .WAIT.
Document the -d-flags and -dFfilename.%d options.
Mention MAKEFLAGS at the top, reword to make it clear that makefile and
Makefile are only used if no -f makefile is given.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Jun 29 22:01:17 2006 UTC (18 years, 5 months ago) by rillig
Branches: MAIN
CVS tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +6 -3
lines
Fixed the bug reported in PR 33866, which is that the :Q operator does not
handle newlines correctly. Ok'ed by christos.
Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:17:06 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +2 -2
lines
Sync with head.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sat Jun 17 02:15:22 2006 UTC (18 years, 5 months ago) by reed
Branches: MAIN
CVS tags: chap-midi-nbase,
chap-midi-base
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -2
lines
Fix mispelling.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Mar 19 10:45:03 2006 UTC (18 years, 8 months ago) by wiz
Branches: MAIN
Branch point for: chap-midi
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +3 -2
lines
New sentence, new line.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Mar 19 01:53:01 2006 UTC (18 years, 8 months ago) by sjg
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -2
lines
Document an interesting kwirk in := handling of undefined variables.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Sat Mar 11 12:02:20 2006 UTC (18 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +5 -3
lines
Markup fixes.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Feb 26 22:45:46 2006 UTC (18 years, 9 months ago) by apb
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +10 -1
lines
Make ".WAIT" apply recursively to all children of nodes on the right
hand side of the .WAIT, except when the recursive interpretation would
cause a cycle in the dependency graph.
Discussed in tech-toolchain. Reviewed by christos, sjg.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun Feb 26 22:40:50 2006 UTC (18 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -2
lines
Fix typo.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Feb 26 21:43:00 2006 UTC (18 years, 9 months ago) by sjg
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +16 -3
lines
Update man page and add test case for specifying modifiers via variable.
Also allow said variable to appear anywhere in the modifier list.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Sun Jan 22 19:54:55 2006 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -2
lines
Make .NOTPARALLEL stop the job engine issuing more than one token (instead
of trying to de-jobify the make.
You can now put .NOTPARALLEL in a submake of a recursive make (where it is
using a job-token pipe from the outer make and have it only run a single job.
You can also specify .NOTPARRALEL in the root makefile of a large recursive
make and have the submakes run multiple commands.
Add some diagnostics printfs (enabled with -dp) to the parser.
Revision 1.105.2.4: download - view: text, markup, annotated - select for diffs
Sat Jul 2 16:23:36 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.105.2.3: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.2.3: +2 -2
lines
Pull up revision 1.113 (requested by rpaulo in ticket #491):
Change "non-escaped" to "unescaped".
Reviewed by hubertf.
Revision 1.105.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 2 16:22:47 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.105.2.2: preferred, colored; branchpoint 1.105: preferred, colored
Changes since revision 1.105.2.2: +1 -1
lines
Pull up revision 1.110 (requested by rpaulo in ticket #491):
We now support comments until the end of a non-escaped line.
Ok'ed by hubertf.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Jun 27 09:51:09 2005 UTC (19 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -5
lines
Consistency. Use Pp instead of br.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Mon Jun 27 00:17:08 2005 UTC (19 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +56 -15
lines
Restore the rework from rev 1.115 and expand the description of .OBJDIR
to document the behaviour that is currently in use (the "./obj" and
"/usr/obj/`pwd`" behaviour).
Hopefully the existing .OBJDIR behaviour is clearer now.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Jun 26 10:14:43 2005 UTC (19 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +16 -39
lines
Since the obj dir handling changes in the code have been
reverted, revert them in the man page too (i.e., revert v1.115).
Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jun 23 02:31:31 2005 UTC (19 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +39 -16
lines
Deprecate support for automagically setting the .OBJDIR to
./obj.${MACHINE}
./obj
/usr/obj/${PWD}
The rules for the default .OBJDIR setting are now simplified to
(and documented as) trying the chdir to the following
(if the appropriate variable is defined):
${MAKEOBJDIRPREFIX}${.CURDIR}
${MAKEOBJDIR}
${.CURDIR}
.OBJDIR can be overridden in the makefile.
<bsd.obj.mk> uses this to provide the "culled" .OBJDIR semantics
for NetBSD's /usr/src builds.
MAKEOBJDIRPREFIX & MAKEOBJDIR still can only be provided
in the environment or on make(1)'s command line.
Per discussion on tech-toolchain.
This should reduce a lot of lossage people have experienced over
the years with various .OBJDIR setups.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Sun Jun 19 17:26:07 2005 UTC (19 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3
lines
Fix an article, and drop trailing whitespace.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jun 18 14:34:55 2005 UTC (19 years, 5 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -2
lines
Change "non-escaped" to "unescaped".
Reviewed by hubertf.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri Jun 17 19:30:49 2005 UTC (19 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +8 -5
lines
Bump date for -jn, and add some formatting.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Jun 17 19:25:20 2005 UTC (19 years, 5 months ago) by jmc
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +8 -1
lines
Add new debugging option '-dn' which will leave the scripts fed into make on
-j jobs in /tmp for debugging purposes. Add a note to the man page that
this could cause problems if run a lot (due to the number of files created)
Revision 1.105.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 16 09:53:24 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.105.2.1: preferred, colored; branchpoint 1.105: preferred, colored
Changes since revision 1.105.2.1: +1 -1
lines
Backout ticket 458, it causes PR toolchain/30536.
Revision 1.105.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 16 09:32:04 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2
lines
Pull up revision 1.110 (requested by rpaulo in ticket #458):
We now support comments until the end of a non-escaped line.
Ok'ed by hubertf.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Jun 15 22:39:27 2005 UTC (19 years, 5 months ago) by rpaulo
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -2
lines
We now support comments until the end of a non-escaped line.
Ok'ed by hubertf.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Jun 1 17:33:21 2005 UTC (19 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +14 -11
lines
New sentence, new line; grammar improvements.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Jun 1 17:17:34 2005 UTC (19 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +31 -3
lines
Add :Ox for random ordering, based on patch from
Mike M. Volokhov <mishka@apk.od.ua>
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun May 8 00:38:47 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -8
lines
Now that dependencies in .BEGIN, .END, and .INTERRUPT work, allow them.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun May 1 00:37:10 2005 UTC (19 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +8 -2
lines
PR/9566: Arne H. Juul: Document special targets that do not obey dependencies.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Wed Feb 23 17:22:29 2005 UTC (19 years, 9 months ago) by sjg
Branches: MAIN
CVS tags: netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -2
lines
In the case of :? modifier, variable can be an expression - say so.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Jul 13 11:58:55 2004 UTC (20 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
Sort options in synopsis.
Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Mon May 10 15:55:29 2004 UTC (20 years, 7 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2
Diff to: previous 1.101.2.1: preferred, colored; branchpoint 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +6 -7
lines
Pull up revision 1.103 (requested by sjg in ticket #282):
Add comma in enumerations; fix a sentence; plural needs no apostrophe.
Revision 1.101.2.1: download - view: text, markup, annotated - select for diffs
Mon May 10 15:52:33 2004 UTC (20 years, 7 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +15 -6
lines
Pull up revision 1.102 (requested by sjg in ticket #282):
Remove use of sh -e when running in compat mode.
Its not posix compliant and serves very little purpose.
With this change compat and jobs modes are consistent wrt how
they treat each line of a script.
Add support for the '+' command line prefix as required by posix.
Lines prefixed with '+' are executed even when -n is given.
[Actually posix says they should also be done for -q and -t]
PR:
Reviewed by: jmc
Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri May 7 08:23:31 2004 UTC (20 years, 7 months ago) by wiz
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +6 -7
lines
Add comma in enumerations; fix a sentence; plural needs no apostrophe.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri May 7 08:12:16 2004 UTC (20 years, 7 months ago) by sjg
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +15 -6
lines
Remove use of sh -e when running in compat mode.
Its not posix compliant and serves very little purpose.
With this change compat and jobs modes are consistent wrt how
they treat each line of a script.
Add support for the '+' command line prefix as required by posix.
Lines prefixed with '+' are executed even when -n is given.
[Actually posix says they should also be done for -q and -t]
PR:
Reviewed by: jmc
Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Feb 5 23:51:46 2004 UTC (20 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3
lines
Bump date; uppercase POSIX.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Feb 5 23:40:52 2004 UTC (20 years, 10 months ago) by ross
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -1
lines
Briefly document the posix command line order and add that this
is (unfortunately) not enforced.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Feb 4 00:37:45 2004 UTC (20 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +25 -18
lines
Use more mdoc macros; new sentence, new line; bump date for previous.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Feb 3 19:25:29 2004 UTC (20 years, 10 months ago) by chuck
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +27 -4
lines
add parent directory search for make as discussed on tech-toolchain.
- new dir.c function: Dir_FindHereOrAbove:
Search for a path in the current directory and then all the directories
above it in turn until the path is found or we reach the root ("/").
- add hooks to use it in main.c for -m and syspath (compiled in
_PATH_DEFSYSPATH and $MAKESYSPATH).
- updated man page
Revision 1.97: download - view: text, markup, annotated - select for diffs
Tue Jan 27 01:38:01 2004 UTC (20 years, 10 months ago) by lukem
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +28 -16
lines
Document more SPECIAL SOURCES (aka ATTRIBUTES).
Improve description of variable modifiers.
In the variable list, be more specific referring to "environment variables"
rather than just relying upon the formatting difference between .Ev and .Va.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Fri Dec 26 23:22:31 2003 UTC (20 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +6 -5
lines
Bump date for previous; use macros for marking up
the dollar sign.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Dec 26 23:18:18 2003 UTC (20 years, 11 months ago) by jmc
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +9 -1
lines
Note that variable expansion can occur within SYSV style = substitions.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Dec 7 20:48:25 2003 UTC (21 years ago) by wiz
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -3
lines
Drop trailing spaces.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Dec 7 20:46:44 2003 UTC (21 years ago) by dsl
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +3 -2
lines
Add back 'on error' that got deleted by mistake.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Dec 7 20:30:28 2003 UTC (21 years ago) by dsl
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -2
lines
Add a -Dg3 which outputs the 'input graph' only on error exit.
Lets you see the wood for the trees...
Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Nov 7 01:01:46 2003 UTC (21 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +62 -52
lines
Add some subsections in the VARIABLE ASSIGNMENTS section.
In the "modifier description" list, show each modifier with the leading `:'.
Rationale: it's hard to search for modifiers without it, and we already do
the same thing in the -options and .makecommands lists. I now find it much
easier to find the description for a modifier in the man page.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Oct 9 16:56:06 2003 UTC (21 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +7 -7
lines
properly dottify .\" comments; this fixes output of [range] paragraph
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Sep 27 21:29:37 2003 UTC (21 years, 2 months ago) by sjg
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +88 -6
lines
Implement :[] modifier to allow picking a range of words out of a variable.
Also :tW and a W flag to :C and :S to allow treating value as a single word.
Add unit tests for the above, and fix some corner cases.
Based on patches supplied by Alan Barrett <apb@cequrux.com>
Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Sep 10 18:04:23 2003 UTC (21 years, 3 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -1
lines
Add the 'e' debug flag (i.e., '-d e'): when enabled, show the "target
failed" and "command failed" messages added recently. These introduce
too much noise when debugging some kind of problems, specially in pkgsrc.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Sep 10 08:44:31 2003 UTC (21 years, 3 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -2
lines
Document the '-d f' flag.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Sep 5 06:55:46 2003 UTC (21 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +7 -6
lines
Whitespace nits.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Sep 5 06:52:12 2003 UTC (21 years, 3 months ago) by sjg
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +7 -2
lines
Allow -V '${FOO}' to print the expanded version of FOO.
A side effect of adding and removing a -E option for the above is that
the cases in MainParseArgs are now ordered correctly?
Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Aug 7 11:14:54 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -6
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Aug 1 00:39:54 2003 UTC (21 years, 4 months ago) by sjg
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +46 -2
lines
Allow .SHELL: to control the shell used by compat mode too.
Add a shell spec for ksh - a nice portable posix shell.
Document .SHELL:
Revision 1.82: download - view: text, markup, annotated - select for diffs
Wed Jul 16 11:34:16 2003 UTC (21 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -5
lines
Bump date for tu addition; drop trailing space; sort a bit.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jul 14 20:39:20 2003 UTC (21 years, 5 months ago) by sjg
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +8 -1
lines
Add a :ts[c] modifier to allow controlling the separator used between
words in a variable expansion. If 'c' is omitted no separator is used.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Jun 26 18:21:45 2003 UTC (21 years, 5 months ago) by wiz
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +12 -14
lines
Misc mdoc fixes (mostly quoting).
Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri May 23 18:15:17 2003 UTC (21 years, 6 months ago) by wiz
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -3
lines
New sentence, new line; bump date for last.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri May 23 17:25:10 2003 UTC (21 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +12 -3
lines
PR/10917: John Hawkinson: Document $MAKE and say which one we want to be using.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Apr 16 09:44:07 2003 UTC (21 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2
lines
Bump date for last.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Apr 1 14:00:58 2003 UTC (21 years, 8 months ago) by jrf
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -1
lines
Added MAKESYSPATH environment variable as per jmmv's suggestion in
PR 18030
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Mar 14 05:19:43 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +16 -2
lines
Add a -X option, which prevents make(1) from putting variables
set on the command line into the environment individually. This
can be useful on systems which have a tight limit on the size
of the argument space.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Feb 25 10:35:47 2003 UTC (21 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +12 -12
lines
.Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Feb 4 23:07:34 2003 UTC (21 years, 10 months ago) by perry
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -2
lines
"Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Jan 9 01:22:30 2003 UTC (21 years, 11 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +15 -7
lines
Be more specific how to call arguments of modifiers.
Reviewed By: wiz
Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jan 3 14:11:18 2003 UTC (21 years, 11 months ago) by mjl
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +5 -5
lines
Tyop fixes
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Nov 29 19:10:25 2002 UTC (22 years ago) by wiz
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +9 -7
lines
Bump date for .PATH description; begin sentence with upper case letter;
new sentence, new line.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Nov 26 06:13:01 2002 UTC (22 years ago) by sjg
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -1
lines
Whenever we update .PATH, set the variable ${.PATH} to reflect the
search list that will be used. Thus 'dot' and 'cur' will appear in
${.PATH} either at the start or end depending on .DOTLAST even though
they are not strictly in dirSearchPath.
When .CURDIR is assigned to - re-set the 'cur' Path.
Finally, when checking subdirs, look in 'dot' and 'cur' (first or last
depending on .DOTLAST) just as we do in other situations.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Nov 2 04:13:41 2002 UTC (22 years, 1 month ago) by perry
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2
lines
environment variables, not environmental variables
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Sep 30 11:09:05 2002 UTC (22 years, 2 months ago) by grant
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +53 -29
lines
New sentence, new line.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Sep 24 15:31:30 2002 UTC (22 years, 2 months ago) by wiz
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -5
lines
Fix an Xr, add a comma and join two short lines. In short, minor changes :)
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Sep 24 15:19:26 2002 UTC (22 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -2
lines
add missing Lt.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Aug 19 11:14:23 2002 UTC (22 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -5
lines
End some sentences with a dot. bin/17987 by Julio Merino.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Mar 19 22:17:30 2002 UTC (22 years, 8 months ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +7 -3
lines
clarify how :U works
Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Feb 8 01:36:28 2002 UTC (22 years, 10 months ago) by ross
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +11 -11
lines
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Feb 7 03:15:11 2002 UTC (22 years, 10 months ago) by ross
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -5
lines
Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
never know that from its frequent use in this tree. There is a
"-offset indent" combination that makes sense, and you can certainly
say "-width indent".
* Also, you can't markup the -width option argument, tho you CAN
use a callable macro. So "-width Ar filename" doesn't make sense,
but either "-width Ar" or "-width filename" does, as might something
like "-width xxfilename" for a little extra space.
* There are a lot of needlessly complex hanging tag macros in man4 used
to create simple item lists. Those should be simplified one of these
days before someone copies and edits yet another man4 page.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Feb 6 16:26:12 2002 UTC (22 years, 10 months ago) by pk
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -1
lines
Add `tu' and `tl' variable expansion modifiers, which transform the
value to uppercase and lowercase, respectively. From Kevin Neal from FreeBSD.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Feb 1 19:35:29 2002 UTC (22 years, 10 months ago) by bgrayson
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -5
lines
- Several paragraphs were indented one level further than needed.
- The endfor example needed some spacing readjustments.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Dec 23 10:51:56 2001 UTC (22 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
outdent description of variable expansion modifiers
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Nov 12 03:23:58 2001 UTC (23 years, 1 month ago) by wiz
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +17 -17
lines
Whitespace/punctuation nits.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Nov 12 01:33:49 2001 UTC (23 years, 1 month ago) by tv
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -1
lines
Add new make variable .ALLTARGETS, which lists all targets in the Makefile.
(Makes it possible to search the target list for particular things and
apply attributes to all the relevant targets.)
Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Nov 12 01:31:21 2001 UTC (23 years, 1 month ago) by tv
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +33 -33
lines
Sort list of make variables.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Oct 23 06:32:38 2001 UTC (23 years, 1 month ago) by jmc
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
Fix typo in definition of PARSEFILE. It should refer to PARSEDIR (and not
itself twice) when describing the variables lifetime
Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Aug 13 12:33:48 2001 UTC (23 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
Nit.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jul 3 18:08:51 2001 UTC (23 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -1
lines
add .USEBEFORE Attribute
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jun 10 02:31:00 2001 UTC (23 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +10 -4
lines
Simplify the exporting of VAR_CMD's via MAKEFLAGS.
We now just list the names of such variables in .MAKEOVERRIDES.
When we come to export MAKEFLAGS we quote the value of each exported variable
using :Q, using: ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
The :O:u suppresses duplicate names.
Also modifed Parse_DoVar to re-export MAKEFLAGS whenever .MAKEOVERRIDES
is assigned to so .MAKEOVERRIDES+= PATH will export PATH=${PATH:Q}
to the environment, while .MAKEOVERRIDES= will disable export of VAR_CMD's.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jun 9 07:00:37 2001 UTC (23 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +9 -2
lines
Mention .MAKEOVERRIDES
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jun 1 20:33:37 2001 UTC (23 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +18 -1
lines
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
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 26 08:27:24 2001 UTC (23 years, 7 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +21 -21
lines
Pull up revision 1.48 (via patch, requested by wiz):
Correct getcwd reference, plus whitespace fixes.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Apr 4 09:39:07 2001 UTC (23 years, 8 months ago) by wiz
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +22 -22
lines
getcwd lives in 3, not 2. Whitespace fixes.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jan 14 20:44:27 2001 UTC (23 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -1
lines
Provide a new .if commands(<target>) primitive that returns true if the
target has commands associated with it.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Jan 10 15:54:00 2001 UTC (23 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -2
lines
PR/11800: Chris Demetriou: Add -W flag to exit on parse warnings.
While I am here, s/make:.*"/%s:\1", progname/
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Jan 1 15:47:38 2001 UTC (23 years, 11 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +9 -4
lines
Delete forceSerial; just use compatMake for that.
Add -N flag to *really* not execute any commands (useful when using
the -d flags to debug usr/src/Makefile)
Document -N
Update documentation of -n to mention that it still executes commands
for targets marked .MAKE so that the -N/-n distinction is clear.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Dec 30 02:05:21 2000 UTC (23 years, 11 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +24 -1
lines
Add a token-passing scheme to allow a recursive make to successfully
use -j; all make's in a recursive build cooperate to limit the total
number of jobs, using a token-passing scheme.
The current token passing algorithm is similar to the one implemented
by gmake; there is a single pipe which is inherited through the entire
process hierarchy; tokens are obtained by reading a byte from the
"read end" of the pipe, and are returned by writing them to the "write
end". This exact algorithm is likely to change in the future.
Implementation details:
- Use the new trace facility to allow measurement of the
effectiveness of different token-passing schemes
- Get a token in MakeStartJobs(), return it in Make_Update()
- Eliminate Job_Full() and the jobFull global since they are
redundant with token system.
- Add an "internal" -J option (to pass the token pipe fd's down to
submakes) and a -T option for tracing.
- Change how compatMake is forced so that -j means something when
inherited by submakes.
- When waiting for a token, poll the token-passing pipe as well as
the output pipes of existing jobs.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Sep 5 17:57:52 2000 UTC (24 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -1
lines
:u modifier a'la uniq(1) [from der Mouse]
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 23 16:39:43 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +43 -1
lines
Sync w/ netbsd-1-5-base.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:29:21 2000 UTC (24 years, 6 months ago) by sjg
Branches: MAIN
CVS tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +16 -14
lines
Rats! ${FOO:=bar} is a common usage of the SysV = modifier.
To avoid that, we now do ::[+?!]*= but the SysV = modifier can
conflict with any new modifier. At there are currently no Makefiles
in our tree that use ${FOO::=bar}
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue May 30 02:32:21 2000 UTC (24 years, 6 months ago) by sjg
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +41 -1
lines
Implemented a set of assignment modifiers. These solve obscure
problems such as using modifiers on .for loop iterators derived from
local variables (eg .TARGET).
Unless the variable already exists in a global context, these assignments are
local to the current context (this is usually what is wanted).
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 29 12:18:52 2000 UTC (24 years, 7 months ago) by sjg
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +43 -3
lines
Added the :U :D :L :P :! and :@ modifiers as used by ODE make.
These allow some very useful magic in the makefiles.
The comment in var.c describing their behaviour is mostly lifted
from ODE make, but the implementation of the modifiers themselves
is quite different (much simpler) due to divergence of our code base.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Apr 16 22:08:06 2000 UTC (24 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +12 -6
lines
PR/9899: David A. Holland: multi-variable .for constructs in make
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 8 12:56:28 2000 UTC (24 years, 10 months ago) by sjg
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +20 -2
lines
Mention MAKEOBJDIRPREFIX and explain how it or MAKEOBJDIR are used.
Also fixed a typo in the .SUFFIXES bit.
Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:37:04 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +2 -2
lines
Pull up to last week's -current.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Oct 8 20:13:42 1999 UTC (25 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
s/ the the / the /
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Sep 12 00:17:50 1999 UTC (25 years, 3 months ago) by christos
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -1
lines
Add :O var modifier, that sorts the words in a variable.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Aug 9 21:06:28 1999 UTC (25 years, 4 months ago) by aidan
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +14 -2
lines
Added .PARSEDIR and .PARSEFILE variables to make(1).
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jul 12 18:22:49 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -2
lines
Fix a typo.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jul 11 02:06:57 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -1
lines
Add a mechanism for specifying that ${.CURDIR} will be searched last
in the presence of .PATH directives by specifying:
.PATH: .DOTLAST
This will be used to fixup the build system to work with both crypto-us
and crypto-intl sub-trees.
Make(1) changes by Christos Zoulas, after much badgering by me :-)
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 10 05:22:18 1999 UTC (25 years, 9 months ago) by erh
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1
lines
Add missing .El line.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Mar 9 03:21:21 1999 UTC (25 years, 9 months ago) by ross
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1
lines
Missing .El.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 7 11:30:01 1999 UTC (25 years, 9 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +16 -2
lines
Clean up SYNOPSIS formatting.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Nov 17 23:56:23 1998 UTC (26 years ago) by ross
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -7
lines
Fix a bug that apparently prevented, since day 1, the .-include / .sinclude
feature from ever working. Also, fix the man page that incorrectly described
the syntax of the feature that didn't work.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Aug 6 13:42:22 1998 UTC (26 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +9 -1
lines
- Add {.,}[s-]include for silent include file failures
- Make traditional include statement include more than one file if present
on the line.
Keeping up with the other's :-)
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Fri May 8 06:12:07 1998 UTC (26 years, 7 months ago) by mycroft
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +8 -2
lines
Sync with trunk, per request of christos.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Apr 1 14:18:10 1998 UTC (26 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +6 -1
lines
Add conditional variable evaluation from Alistair Crooks.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Feb 24 18:34:31 1998 UTC (26 years, 9 months ago) by hubertf
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -2
lines
Fix typos from PR 5055 by NAKAJIMA Yoshihiro <nakayosh@kcn.or.jp>.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 19 05:05:24 1997 UTC (27 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +37 -37
lines
fix up .Nm usage
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Oct 12 05:51:47 1997 UTC (27 years, 2 months ago) by mikel
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
add missing .Nm argument
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon May 26 23:07:31 1997 UTC (27 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
Erase spurious character.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon May 26 21:04:28 1997 UTC (27 years, 6 months ago) by pk
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
Minor formatting glitch.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu May 8 22:34:34 1997 UTC (27 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3
lines
Fix description of .NOPATH.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 8 21:24:45 1997 UTC (27 years, 7 months ago) by gwr
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -1
lines
Add the new .NOPATH feature which can be used to disable .PATH search
for particular targets, i.e. .depend, objects, etc. (from Christos).
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue May 6 22:29:43 1997 UTC (27 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -3
lines
Document .PHONY better.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Mar 10 21:19:53 1997 UTC (27 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1
lines
Add a .MADE directive to indicated that the children of a target are
up-to-date, even when they are not. This is to simulate our current
make install behavior with proper dependencies.
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Sun Jan 26 05:51:44 1997 UTC (27 years, 10 months ago) by rat
Branches: netbsd-1-2
CVS tags: netbsd-1-2-PATCH001
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +112 -36
lines
Update make(1) from trunk, by request from Christos Zoulas. Fixes many bugs.
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Dec 28 04:40:52 1996 UTC (27 years, 11 months ago) by tls
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +77 -34
lines
Import 4.4BSD-Lite2 sources onto CSRG branch (already merged at head)
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 24 17:36:27 1996 UTC (27 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +53 -13
lines
[initial version of the substitution/regexp changes were courtesy of Der Mouse]
- fix the variable substitution code in make [PR/2748]
1. change s/a/b/ so that it substitutes the first occurance of the
pattern on each word, not only the first word.
2. add flag '1' to the variable substitution so that the substitutions
get performed only once.
***THIS IS AN INCOMPATIBLE CHANGE!***
Unfortunately there was no way to make things consistent without
modifying the current behavior. Fortunately none of our Makefiles
depended on this.
OLD:
VAR = aa1 aa2 aa3 aa4
S/a/b/ = ba1 aa2 aa3 aa4
S/a/b/g = bb1 bb2 bb3 bb4
NEW:
VAR = aa1 aa2 aa3 aa4
S/a/b/ = ba1 ba2 ba3 ba4
S/a/b/1 = ba1 aa2 aa3 aa4
S/a/b/g = bb1 bb2 bb3 bb4
S/a/b/1g = bb1 aa2 aa3 aa4
- add regexp variable substitution via 'C/foo/bar/' [PR/2752]
- add variable quoting via the ${VAR:Q} modifier. This is useful when running
recursive invocations of make(1):
make VAR=${VAR:Q}
will always work... (This may prove useful in the kernel builds...) [PR/2981]
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Nov 6 17:59:13 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +59 -24
lines
- Merge in FreeBSD and Lite2 changes.
- Fix bug where a non-archive target with a .a suffix would always
be considered to be out of date, since it does not have a TOC.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Aug 30 17:59:40 1996 UTC (28 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1
lines
Tidy up some RCS ids a bit.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Mar 15 21:52:32 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-BETA
Branch point for: netbsd-1-2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1
lines
Add PHONY attribute and target. This is the first step to cleanup the
xinstall and xlint crud.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Mar 6 00:15:20 1996 UTC (28 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -3
lines
Fix PR/2118; apply sysincludes patch.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Dec 16 05:03:09 1995 UTC (29 years ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -1
lines
- Added .WAIT to synchronize between sources like other pmake variants.
- Updated documentation to include .ORDER .PARALLEL .NO_PARALLEL .NONPARALLEL
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 5 02:50:07 1995 UTC (29 years ago) by jtc
Branches: netbsd-1-1
CVS tags: netbsd-1-1-PATCH001
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -2
lines
environmental -> environment
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Nov 8 02:31:00 1995 UTC (29 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2
lines
- Turn compat mode on by default. It gets turned off when the -j without
the -B flag is specified. [Thus you can use -j 1 to turn it off].
- Fix malloc -> emalloc as Gordon noted.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 2 23:54:57 1995 UTC (29 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -2
lines
Minor:
- ${.PREFIX} should never contain a full pathname
- Fixed gcc -Wall warnings
Major:
- compatMake is now FALSE. This means that we are now running in
full pmake mode:
* rules on dependency lines can be executed in parallel and or
out of sequence:
foo: bar baz
can fire the rule for baz before the rule for bar is fired.
To enforce bar to be fired before baz, another rule needs to be
added. [bar: baz]
* adjacent shell commands in a target are now executed by a single
invocation of the shell, not one invocation of the shell per line
(compatMake can be turned off using the -B flag)
- The -j flag now works... I.e. make -j 4 will fork up to four jobs in
parallel when it can. The target name is printed before each burst
of output caused by the target execution as '--- target ---', when j > 1
- I have changed all the Makefiles so that they work with make -j N, and
I have tested the whole netbsd by:
'make -j 4 cleandir; make -j 4 depend; make -j 4; make -j 4 install'
- I have not compiled or tested this version of make with -DREMOTE.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 14 15:19:37 1995 UTC (29 years, 6 months ago) by christos
Branches: MAIN
CVS tags: netbsd-1-1-base,
netbsd-1-1-RELEASE
Branch point for: netbsd-1-1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1
lines
- $NetBSD$ rcsids
- Fixed so that .[A-Z]* targets that do not match keywords are ignored as
Posix mandates
- Added .PHONY target keyword
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 29 17:05:08 1995 UTC (29 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2
lines
Fix small typo; from Chris Torek
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 23 20:34:59 1995 UTC (29 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -6
lines
Fix 4 typos pointed out by Jordan, and 1 by me.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Mar 5 00:34:56 1994 UTC (30 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +56 -23
lines
fixes/improvements from Christos Zoulas <christos@deshaw.com>.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 10 18:25:01 1994 UTC (30 years, 10 months ago) by jtc
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4
lines
Fix typos & spelling errors
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Dec 22 00:25:59 1993 UTC (30 years, 11 months ago) by pk
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
Introduced ${.OBJDIR}. The variable is similar to .CURDIR but points at
the directory where make builds the targets. It can be used to clean up
those cumbersome Makefiles that have to guess at the "obj" directory.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 1 07:31:03 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1
lines
Add RCS indentifiers.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Apr 22 03:27:37 1993 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Fix various bugs in man pages (from 386BSD patch 130).
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-8,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>