README (automake-1.16.2.tar.xz) | : | README (automake-1.16.3.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 199 | skipping to change at line 199 | |||
(and there are indeed a lot of such tests). | (and there are indeed a lot of such tests). | |||
* Use $ACLOCAL, $AUTOMAKE, $AUTOCONF, $AUTOUPDATE, $AUTOHEADER, | * Use $ACLOCAL, $AUTOMAKE, $AUTOCONF, $AUTOUPDATE, $AUTOHEADER, | |||
$PERL, $MAKE, $EGREP, and $FGREP, instead of the corresponding | $PERL, $MAKE, $EGREP, and $FGREP, instead of the corresponding | |||
commands. | commands. | |||
* When you want to redirect the output from a make invocation, use the | * When you want to redirect the output from a make invocation, use the | |||
'run_make' function rather than calling $MAKE directly. Not only is | 'run_make' function rather than calling $MAKE directly. Not only is | |||
this more idiomatic, but it also avoid possible spurious racy failures | this more idiomatic, but it also avoid possible spurious racy failures | |||
when the make invocations in the testsuite are run in parallel mode | when the make invocations in the testsuite are run in parallel mode | |||
(as with "make check AM_TESTSUITE_MAKE='make -j4"'). | (as with "make check AM_TESTSUITE_MAKE='make -j4'"). | |||
* Do not override Makefile variables using make arguments, as in e.g.: | * Do not override Makefile variables using make arguments, as in e.g.: | |||
$MAKE prefix=/opt install # BAD | $MAKE prefix=/opt install # BAD | |||
This is not portable for recursive targets (with non-GNU make, | This is not portable for recursive targets (with non-GNU make, | |||
targets that call a sub-make may not pass "prefix=/opt" along). | targets that call a sub-make may not pass "prefix=/opt" along). | |||
Instead, use the 'run_make' function, which automatically uses | Instead, use the 'run_make' function, which automatically uses | |||
the AM_MAKEFLAGS to propagate the variable definitions along to | the AM_MAKEFLAGS to propagate the variable definitions along to | |||
sub-make: | sub-make: | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |