From: Stefano Lattarini Date: Sun, 18 Sep 2011 16:13:59 +0000 (+0200) Subject: Merge branch 'maint' X-Git-Tag: ng-0.5a~121 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd2efb9f05528c9c68e80185b250fe5b0abdec14;p=thirdparty%2Fautomake.git Merge branch 'maint' * maint: coverage: test interactions of `nobase_' and `nodist_' cosmetics: fix various typos and grammaros py-compile: '--' and non-option arguments terminate the option list py-compile: complain on unrecognized options py-compile: normalize error and help messages python tests: add "unit tests" on py-compile py-compile: the '--destdir' option now accepts a blank argument python: run the 'py-compile' script with $(SHELL) --- cd2efb9f05528c9c68e80185b250fe5b0abdec14 diff --cc ChangeLog index b0317a695,56a8d1ca3..c65d658ea --- a/ChangeLog +++ b/ChangeLog @@@ -755,26 -572,67 +771,87 @@@ generic hard errors. The latter should be reserved for "real" set-up failures. + 2011-06-08 Stefano Lattarini + + py-compile: '--' and non-option arguments terminate the option list + * lib/py-compile: Any non-option argument, or the special `--' + argument, now explicitly terminates the list of options. + * tests/py-compile-option-terminate.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + + 2011-06-08 Stefano Lattarini + + py-compile: complain on unrecognized options + * lib/py-compile: Complain on unrecognized options. Don't be too + lax in matching `--help' and `--version' options. + * tests/py-compile-usage.test: Extend accordingly. + * NEWS: Update. + + 2011-06-08 Stefano Lattarini + + py-compile: normalize error and help messages + * lib/py-compile: Now error messages do not begin with a capital + letter, nor end with a period, as per GNU standards. Prepend the + error messages with the name of the script, not with its path. + When an invalid usage is recognized, always display the customary + message "Try `py-compile --help' ..." on a line of its own. + ($me): New variable, containing the name of the + program, i.e., `py-compile'. Use it throughout. + (usage_error): New function, used to display error messages about + invalid usage. + * tests/py-compile-usage.test: Extend and tighten accordingly. + + 2011-06-08 Stefano Lattarini + + python tests: add "unit tests" on py-compile + * tests/py-compile-basic.test: New test. + * tests/py-compile-basic2.test: New test. + * tests/py-compile-basedir.test: Likewise. + * tests/py-compile-destdir.test: Likewise. + * tests/py-compile-env.test: Likewise. + * tests/py-compile-usage.test: Likewise. + * tests/Makefile.am (TESTS): Update. + Tested with python 2.0.1, 2.4.6, 2.6.6, 2.7.1, and 3.1.3. + + 2011-06-08 Stefano Lattarini + + py-compile: the '--destdir' option now accepts a blank argument + * lib/py-compile (Option parsing): Do not count an empty argument + to `--destdir' or `--basedir' as a missing argument. + * lib/python.am: Simplify accordingly, passing the `--destdir' + option to py-compile unconditionally, even if `$(DESTDIR)' is + empty. + * NEWS: Update. + + 2011-06-08 Stefano Lattarini + + python: run the 'py-compile' script with $(SHELL) + * lib/python.am (install-%DIR%PYTHON): Run each instance of + py-compile using $(SHELL). Since we are at it, break overly + long lines. + (am__py_compile): New variable, to reduce code duplication. + +2011-06-05 Stefano Lattarini + + tests: fix typo-related error in auxdir2.test + * tests/auxdir2.test (configure.in): Close m4 quoting in the + argument to AC_CONFIG_AUX_DIR. Without this, aclocal fails with + "ERROR: end of file in string". This problem hasn't been exposed + by the testsuite before because this test is in XFAIL_TESTS, so + its failure went unnoticed, even if it was due to a wrong cause. + Bug introduced in commit v1.11-249-g49ac3de. + +2011-06-02 Stefano Lattarini + + maintcheck: fix some more failures + * tests/instdir-ltlib.test: Use creative quoting to avoid + spuriously triggering the `sc_rm_minus_f' maintainer check. + * tests/instdir-prog.test: Likewise. + * tests/instspc-data.test: Use creative quoting to avoid + spuriously triggering the `sc_tests_Exit_not_exit' maintainer + check. + 2011-06-02 Stefano Lattarini maintcheck: fix some failures, extend some checks diff --cc NEWS index 60b89d5ab,f26b3322d..08a56c0ee --- a/NEWS +++ b/NEWS @@@ -26,32 -18,11 +26,37 @@@ New in 1.11a - The `lzma' compression scheme and associated automake option `dist-lzma' is obsoleted by `xz' and `dist-xz' due to upstream changes. + - "make dist" can now create lzip-compressed tarballs. + + - You may adjust the compression options used in dist-xz and dist-bzip2. + The default is still -9 for each, but you may specify a different + level via the XZ_OPT and BZIP2 envvars respectively. E.g., + "make dist-xz XZ_OPT=-7" or "make dist-xz BZIP2=-5" + + - Messages of types warning or error from `automake' and `aclocal' are now + prefixed with the respective type, and presence of -Werror is noted. + + - The `compile' script now converts some options for MSVC for a better + user experience. Similarly, the new `ar-lib' script wraps Microsoft lib. + + - Automake's early configure-time sanity check now tries to avoid sleeping + for a second, which slowed down cached configure runs noticeably. In that + case, it will check back at the end of the configure script to ensure that + at least one second has passed, to avoid time stamp issues with makefile + rules rerunning autotools programs. + + - For programs and libraries, automake now detects EXTRA_foo_DEPENDENCIES and + adds them to the normal list of dependencies, but without overwriting the + foo_DEPENDENCIES variable, which is normally computed by automake. + + - C source and header files derived from non-distributed Yacc sources are + now removed by "make clean", not only by "make maintainer-clean". + + - The py-compile script now accepts empty arguments passed to the options + `--destdir' and `--basedir', and complains about unrecognized options. + Moreover, a non-option argument or a special `--' argument terminates + the list of options. + - A developer that needs to pass specific flags to configure at "make distcheck" time can now, and indeed he's advised to, do so by defining the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS,