pkgsrc/devel/automake/Makefile

31 lines
776 B
Makefile
Raw Normal View History

automake: update to 1.16.1. New in 1.16.1: * Bugs fixed: - 'install-sh' now ensures that nobody can cross privilege boundaries by pre-creating symlink on the directory inside "/tmp". - 'automake' does not depend on the 'none' subroutine of the List::Util module anymore to support older Perl version. (automake bug#30631) - A regression in AM_PYTHON_PATH causing the rejection of non literal minimum version parameter hasn't been fixed. (automake bug#30616) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.16: * Miscellaneous changes - When subdir-objects is in effect, Automake will now construct shorter object file names when no programs and libraries name clashes are encountered. This should make the discouraged use of 'foo_SHORTNAME' unnecessary in many cases. * Bugs fixed: - Automatic dependency tracking has been fixed to work also when the 'subdir-object' option is used and some 'foo_SOURCES' definition contains unexpanded references to make variables, as in, e.g.: a_src = sources/libs/aaa b_src = sources/bbb foo_SOURCES = $(a_src)/bar.c $(b_src)/baz.c With such a setup, the created makefile fragment containing dependency tracking information will be correctly placed under the directories named 'sources/libs/aaa/.deps' and 'sources/bbb/.deps', rather than mistakenly under directories named (literally!) '$(src_a)/.deps' and '$(src_b)/.deps' (this was the first part of automake bug#13928). Notice that in order to fix this bug we had to slightly change the semantics of how config.status bootstraps the makefile fragments required for the dependency tracking to work: rather than attempting to parse the Makefiles via grep and sed trickeries only, we actually invoke 'make' on a slightly preprocessed version of those Makefiles, using a private target that is only meant to bootstrap the required makefile fragments. - The 'subdir-object' option no longer causes object files corresponding to source files specified with an explicit '$(srcdir)' component to be placed in the source tree rather than in the build tree. For example, if Makefile.am contains: AUTOMAKE_OPTIONS = subdir-objects foo_SOURCES = $(srcdir)/foo.c $(srcdir)/s/bar.c $(top_srcdir)/baz.c then "make all" will create 'foo.o' and 's/bar.o' in $(builddir) rather than in $(srcdir), and will create 'baz.o' in $(top_builddir) rather than in $(top_srcdir). This was the second part of automake bug#13928. - Installed 'aclocal' m4 macros can now accept installation directories containing '@' characters (automake bug#20903) - "./configure && make dist" no longer fails when a distributed file depends on one from BUILT_SOURCES. - When combining AC_LIBOBJ or AC_FUNC_ALLOCA with the "--disable-dependency-tracking" configure option in an out of source build, the build sub-directory defined by AC_CONFIG_LIBOBJ_DIR is now properly created. (automake bug#27781) - The time printed by 'mdate-sh' is now using the UTC time zone to support the reproducible build effort. (automake bug#20314) - The elisp byte-compilation rule now uses byte-compile-dest-file-function, rather than byte-compile-dest-file, which was obsoleted in 2009. We expect that Emacs-26 will continue to support the old function, but will complain loudly, and that Emacs-27 will remove support for it altogether. * New features added - A custom testsuite driver for the Guile Scheme SRFI-64 API has been added to the "contrib" section. This allows a more convenient way to test Guile code without having to use low primitives such as exit status. See SRFI-64 API specification for more details: <https://srfi.schemers.org/srfi-64/srfi-64.html>
2018-12-01 05:58:36 +01:00
# $NetBSD: Makefile,v 1.107 2018/12/01 04:58:36 wiz Exp $
#
# for major version updates, don't forget adding new links in
# mk/tools/automake.mk
automake: update to 1.16.1. New in 1.16.1: * Bugs fixed: - 'install-sh' now ensures that nobody can cross privilege boundaries by pre-creating symlink on the directory inside "/tmp". - 'automake' does not depend on the 'none' subroutine of the List::Util module anymore to support older Perl version. (automake bug#30631) - A regression in AM_PYTHON_PATH causing the rejection of non literal minimum version parameter hasn't been fixed. (automake bug#30616) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.16: * Miscellaneous changes - When subdir-objects is in effect, Automake will now construct shorter object file names when no programs and libraries name clashes are encountered. This should make the discouraged use of 'foo_SHORTNAME' unnecessary in many cases. * Bugs fixed: - Automatic dependency tracking has been fixed to work also when the 'subdir-object' option is used and some 'foo_SOURCES' definition contains unexpanded references to make variables, as in, e.g.: a_src = sources/libs/aaa b_src = sources/bbb foo_SOURCES = $(a_src)/bar.c $(b_src)/baz.c With such a setup, the created makefile fragment containing dependency tracking information will be correctly placed under the directories named 'sources/libs/aaa/.deps' and 'sources/bbb/.deps', rather than mistakenly under directories named (literally!) '$(src_a)/.deps' and '$(src_b)/.deps' (this was the first part of automake bug#13928). Notice that in order to fix this bug we had to slightly change the semantics of how config.status bootstraps the makefile fragments required for the dependency tracking to work: rather than attempting to parse the Makefiles via grep and sed trickeries only, we actually invoke 'make' on a slightly preprocessed version of those Makefiles, using a private target that is only meant to bootstrap the required makefile fragments. - The 'subdir-object' option no longer causes object files corresponding to source files specified with an explicit '$(srcdir)' component to be placed in the source tree rather than in the build tree. For example, if Makefile.am contains: AUTOMAKE_OPTIONS = subdir-objects foo_SOURCES = $(srcdir)/foo.c $(srcdir)/s/bar.c $(top_srcdir)/baz.c then "make all" will create 'foo.o' and 's/bar.o' in $(builddir) rather than in $(srcdir), and will create 'baz.o' in $(top_builddir) rather than in $(top_srcdir). This was the second part of automake bug#13928. - Installed 'aclocal' m4 macros can now accept installation directories containing '@' characters (automake bug#20903) - "./configure && make dist" no longer fails when a distributed file depends on one from BUILT_SOURCES. - When combining AC_LIBOBJ or AC_FUNC_ALLOCA with the "--disable-dependency-tracking" configure option in an out of source build, the build sub-directory defined by AC_CONFIG_LIBOBJ_DIR is now properly created. (automake bug#27781) - The time printed by 'mdate-sh' is now using the UTC time zone to support the reproducible build effort. (automake bug#20314) - The elisp byte-compilation rule now uses byte-compile-dest-file-function, rather than byte-compile-dest-file, which was obsoleted in 2009. We expect that Emacs-26 will continue to support the old function, but will complain loudly, and that Emacs-27 will remove support for it altogether. * New features added - A custom testsuite driver for the Guile Scheme SRFI-64 API has been added to the "contrib" section. This allows a more convenient way to test Guile code without having to use low primitives such as exit status. See SRFI-64 API specification for more details: <https://srfi.schemers.org/srfi-64/srfi-64.html>
2018-12-01 05:58:36 +01:00
DISTNAME= automake-1.16.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=automake/}
MASTER_SITES+= ftp://sources.redhat.com/pub/automake/
Update to 1.11.3: New in 1.11.3: * WARNING: Future backward-incompatibilities! - The support for the "obscure" multilib feature has been deprecated, and will be moved out of the automake core in the next major Automake release (1.12). - The support for ".log -> .html" conversion and the check-html and recheck-html targets will be removed in the next major Automake release (1.12). - The obsolescent AM_WITH_REGEX macro has been deprecated (since the GNU rx library has been decommissioned), and will be removed in the next major Automake release (1.12). - The `lzma' compression format for distribution archives has been deprecated in favor of `xz' and `lzip', and will be removed in the next major Automake release (1.12). - The `--acdir' option of aclocal is deprecated, and will probably be removed in the next major Automake release (1.12). - The exact order in which the directories in the aclocal macro search path are looked up is probably going to be changed in the next Automake release (1.12). - The Automake support for automatic de-ANSI-fication will be removed in the next major Automake release (1.12). - Starting from the next Automake release (1.12), warnings in the `extra-portability' category will be enabled by `-Wall' (right now, one has to use `-Wextra-portability' explicitly). * Miscellaneous changes: - Automake's own build system is more silent by default, making use of the 'silent-rules' option. - The master copy of the `gnupload' script is now maintained in gnulib, not in automake. - The `missing' script doesn't try to wrap calls to `tar' anymore. - "make dist" doesn't wrap `tar' invocations with the `missing' script anymore. Similarly, the obsolescent variable `$(AMTAR)' (which you shouldn't be using BTW ;-) does not invoke the missing script anymore to wrap tar, but simply invokes the `tar' program itself. - "make dist" can now create lzip-compressed tarballs. - In the Automake info documentation, the Top node and the nodes about the invocation of the automake and aclocal programs have been renamed; now, calling "info automake" will open the Top node, while calling "info automake-invocation" and "info aclocal-invocation" will access the nodes about the invocation of respectively automake and aclocal. - Automake is now distributed as a gzip-compressed and an xz-compressed tarball. Previously, bzip2 was used instead of xz. - The last relics of Python 1.5 support have been removed from the AM_PATH_PYTHON macro. - 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. Bugs fixed in 1.11.3: * Bugs introduced by 1.11.2: - Automake now correctly recognizes the prefix/primary combination `pkglibexec_SCRIPTS' as valid. - The parallel-tests harness doesn't trip anymore on sed implementations with stricter limits on the length of input lines (problem seen at least on Solaris 8). * Long-standing bugs: - The "deleted header file problem" for *.am files is avoided by stub rules. This allows `make' to trigger a rerun of `automake' also if some previously needed `.am' file has been removed. - The `silent-rules' option now generates working makefiles even for the uncommon `make' implementations that do not support the nested-variables extension to POSIX 2008. For such `make' implementations, whether a build is silent is determined at configure time, and cannot be overridden at make time with `make V=0' or `make V=1'. - Vala support now works better in VPATH setups. New in 1.11.2: * Changes to aclocal: - The `--acdir' option is deprecated. Now you should use the new options `--automake-acdir' and `--system-acdir' instead. - The `ACLOCAL_PATH' environment variable is now interpreted as a colon-separated list of additional directories to search after the automake internal acdir (by default ${prefix}/share/aclocal-APIVERSION) and before the system acdir (by default ${prefix}/share/aclocal). * Miscellaneous changes: - The Automake support for automatic de-ANSI-fication has been deprecated. It will probably be removed in the next major Automake release (1.12). - The `lzma' compression scheme and associated automake option `dist-lzma' is obsoleted by `xz' and `dist-xz' due to upstream changes. - You may adjust the compression options used in dist-xz and dist-bzip2. The default is now merely -e for xz, but still -9 for bzip; 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-bzip2 BZIP2=-5" - The `compile' script now converts some options for MSVC for a better user experience. Similarly, the new `ar-lib' script wraps Microsoft lib. - 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 is advised to, do so by defining the developer-reserved makefile variable AM_DISTCHECK_CONFIGURE_FLAGS, instead of the old DISTCHECK_CONFIGURE_FLAGS. The DISTCHECK_CONFIGURE_FLAGS variable should now be reserved for the user; still, the old Makefile.am files that used to define it will still continue to work as before. - New macro AM_PROG_AR that looks for an archiver and wraps it in the new 'ar-lib' auxiliary script if the selected archiver is Microsoft lib. This new macro is required for LIBRARIES and LTLIBRARIES when automake is run with -Wextra-portability and -Werror. - When using DejaGnu-based testsuites, the user can extend the `site.exp' file generated by automake-provided rules by defining the special make variable `$(EXTRA_DEJAGNU_SITE_CONFIG)'. - The `install-info' rule can now be instructed not to create/update the `${infodir}/dir' file, by exporting the new environment variable `AM_UPDATE_INFO_DIR' to the value "no". Bugs fixed in 1.11.2: * Bugs introduced by 1.11: - The parallel-tests driver no longer produces erroneous results with Tru64/OSF 5.1 sh upon unreadable log files. - The `parallel-tests' test driver does not report spurious successes when used with concurrent FreeBSD make (e.g., "make check -j3"). - When the parallel-tests driver is in use, automake now explicitly rejects invalid entries and conditional contents in TEST_EXTENSIONS, instead of issuing confusing and apparently unrelated error messages (e.g., "non-POSIX variable name", "bad characters in variable name", or "redefinition of TEST_EXTENSIONS), or even, in some situations, silently producing broken `Makefile.in' files. - The `silent-rules' option now truly silences all compile rules, even when dependency tracking is disabled. Also, when `silent-rules' is not used, `make' output no longer contains spurious backslash-only lines, thus once again matching what Automake did before 1.11. - The AM_COND_IF macro also works if the shell expression for the conditional is no longer valid for the condition. * Long-standing bugs: - The order of Yacc and Lex flags is fixed to be consistent with other languages: $(AM_YFLAGS) comes before $(YFLAGS), and $(AM_LFLAGS) before $(LFLAGS), so that the user variables override the developer variables. - "make distcheck" now correctly complains also when "make uninstall" leaves one and only one file installed in $(prefix). - A "make uninstall" issued before a "make install", or after a mere "make install-data" or a mere "make install-exec" does not spuriously fail anymore. - Automake now warns about more primary/directory invalid combinations, such as "doc_LIBRARIES" or "pkglib_PROGRAMS". - Rules generated by Automake now try harder to not change any files when `make -n' is invoked. Fixes include compilation of Emacs Lisp, Vala, or Yacc source files and the rule to update config.h. - Several scripts and the parallel-tests testsuite driver now exit with the right exit status upon receiving a signal. - A per-Makefile.am setting of -Werror does not erroneously carry over to the handling of other Makefile.am files. - The code for automatic dependency tracking works around a Solaris make bug triggered by sources containing repeated slashes when the `subdir-objects' option was used. - The makedepend and hp depmodes now work better with VPATH builds. - Java sources specified with check_JAVA are no longer compiled for "make all", but only for "make check". - An usage like "java_JAVA = foo.java" will now cause Automake to warn and error out if `javadir' is undefined, instead of silently producing a broken Makefile.in. - aclocal and automake now honour the configure-time definitions of AUTOCONF and AUTOM4TE when they spawn autoconf or autom4te processes. - The `install-info' recipe no longer tries to guess whether the `install-info' program is from Debian or from GNU, and adaptively change its behaviour; this has proven to be frail and easy to regress.
2012-03-03 13:58:13 +01:00
EXTRACT_SUFX= .tar.xz
2003-07-17 23:21:03 +02:00
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/automake/automake.html
COMMENT= GNU Standards-compliant Makefile generator
Update to 1.11: New in 1.11: * Version requirements: - Autoconf 2.62 or greater is required. * Changes to aclocal: - The autoconf version check implemented by aclocal in aclocal.m4 (and new in Automake 1.10) is degraded to a warning. This helps in the common case where the Autoconf versions used are compatible. * Changes to automake: - The automake program can run multiple threads for creating most Makefile.in files concurrently, if at least Perl 5.7.2 is available with interpreter-based threads enabled. Set the environment variable AUTOMAKE_JOBS to the maximum number of threads to use, in order to enable this experimental feature. * Changes to Libtool support: - Libtool generic flags are now passed to the install and uninstall modes as well. - distcheck works with Libtool 2.x even when LT_OUTPUT is used, as config.lt is removed correctly now. * Languages changes: - subdir-object mode works now with Fortran (F77, FC, preprocessed Fortran, and Ratfor). - For files with extension .f90, .f95, .f03, or .f08, the flag $(FCFLAGS_f[09]x) computed by AC_FC_SRCEXT is now used in compile rules. - Files with extension .sx are also treated as preprocessed assembler. - The default source file extension (.c) can be overridden with AM_DEFAULT_SOURCE_EXT now. - Python 3.0 is supported now, Python releases prior to 2.0 are no longer supported. - AM_PATH_PYTHON honors python's idea about the site directory. - There is initial support for the Vala programming language, when using Vala 0.7.0 or later. * Miscellaneous changes: - Automake development is done in a git repository on Savannah now, see http://git.sv.gnu.org/gitweb/?p=automake.git A read-only CVS mirror is provided at cvs -d :pserver:anonymous@pserver.git.sv.gnu.org:/automake.git \ checkout -d automake HEAD - "make dist" can now create xz-compressed tarballs, as well as (deprecated?) lzma-compressed tarballs. - `automake --add-missing' will by default install the GPLv3 file as COPYING if it is missing. It will also warn that the license file should be added to source control. Note that Automake will never overwrite an existing COPYING file, even when the `--force-missing' option is used. - The manual is now distributed under the terms of the GNU FDL 1.3. - Automake ships and installs man pages for automake and aclocal now. - New shorthand `$(pkglibexecdir)' for `$(libexecdir)/@PACKAGE@'. - install-sh supports -C, which does not update the installed file (and its time stamps) if the contents did not change. - The `gnupload' script has been revamped. - The `depcomp' and `compile' scripts now work with MSVC under MSYS. - The targets `install' and `uninstall' are more efficient now, in that for example multiple files from one Automake variable such as `bin_SCRIPTS' are copied in one `install' (or `libtool --mode=install') invocation if they do not have to be renamed. Both install and uninstall may sometimes enter (`cd' into) the target installation directory now, when no build-local scripts are used. Both install and uninstall do not fail anymore but do nothing if an installation directory variable like `bindir' is set to the empty string. For built-in rules, `make install' now fails reliably if installation of a file failed. Conversely, `make uninstall' even succeeds when issued multiple times. These changes may need some adjustments from users: For example, some `install' programs refuse to install multiple copies of the same file in one invocation, so you may need to remove duplicate entries from file lists. Also, within one set of files, say, nobase_data_DATA, the order of installation may be changed, or even unstable among different hosts, due to the use of associative arrays in awk. The increased use of awk matches a similar move in Autoconf to provide for better scaling. Further, most undocumented per-rule install command variables such as binSCRIPT_INSTALL have been removed because they are not needed any more. Packages which use them should be using the appropriate one of INSTALL_{DATA,PROGRAM,SCRIPT} or their install_sh_{DATA,PROGRAM,SCRIPT} counterpart, depending on the type of files and the need for automatic target directory creation. - The "deleted header file problem" for *.m4 files is avoided by stub rules. This allows `make' to trigger a rerun of `aclocal' also if some previously needed macro file has been removed. - Rebuild rules now also work for a removed `subdir/Makefile.in' in an otherwise up to date tree. - The `color-tests' option causes colored test result output on terminals. - The `parallel-tests' option enables a new test driver that allows for parallel test execution, inter-test dependencies, lazy test execution for unit-testing, re-testing only failed tests, and formatted result output as RST (reStructuredText) and HTML. Enabling this option may require some changes to your test suite setup; see the manual for details. - The `silent-rules' option enables Linux kernel-style silent build output. This option requires the widely supported but non-POSIX `make' feature of recursive variable expansion, so do not use it if your package needs to build with `make' implementations that do not support it. To enable less verbose build output, the developer has to use the Automake option `silent-rules' in `AM_INIT_AUTOMAKE', or call the `AM_SILENT_RULES' macro. The user may then set the default verbosity by passing the `--enable-silent-rules' option to `configure'. At `make' run time, this default may be overridden using `make V=0' for less verbose, and `make V=1' for backward-compatible verbose output. - New prefix `notrans_' for manpages which should not be transformed by --program-transform. - New macro AM_COND_IF for conditional evaluation and conditional config files. - For AC_CONFIG_LINKS, if source and destination are equal, do not remove the file in a non-VPATH build. Such setups work with Autoconf 2.62 or newer. - AM_MAINTAINER_MODE now allows for an optional argument specifying the default setting. - AM_SUBST_NOTMAKE may prevent substitution of AC_SUBSTed variables, useful especially for multi-line values. - Automake's early configure-time sanity check now diagnoses an unsafe absolute source directory name and makes configure fail. - The Automake macros and rules cope better with whitespace in the current directory name, as long as the relative path to `configure' does not contain whitespace. To this end, the values of `$(MISSING)' and `$(install_sh)' may contain suitable quoting, and their expansion might need `eval'uation if used outside of a makefile. These undocumented variables may be used in several documented macros such as $(AUTOCONF) or $(MAKEINFO). Bugs fixed in 1.11: * Long standing bugs: - Fix aix dependency tracking for libtool objects. - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to unnecessary use of the `compile' script. - For nobase_*_LTLIBRARIES with nonempty directory components, the correct `-rpath' argument is used now. - `config.status --file=Makefile depfiles' now also works with the extra quoting used internally by Autoconf 2.62 and newer (it used to work only without the `--file=' bit). - The `missing' script works better with versioned tool names. - Semantics for `missing help2man' have been revamped: Previously, if `help2man' was not present, `missing help2man' would have the following semantics: if some man page was out of date but present, then a warning would be printed, but the exit status was 0. If the man page was not present at all, then `missing' would create a replacement man page containing an error message, and exit with a status of 2. This does not play well with `make': the next run will see this particular man page as being up to date, and will only error out on the next generated man page, if any; repeat until all pages are done. This was not desirable. These are the new semantics: if some man page is not present, and help2man is not either, then `missing' will warn and generate the replacement page containing the error message, but exit successfully. However, `make dist' will ensure that no such bogus man pages are packaged into a tarball. - Targets provided by automake behave better with `make -n', in that they take care not to create files. - `config.status Makefile... depfiles' works fine again in the presence of disabled dependency tracking. - The default no-op recursive rules for these targets also work with BSD make now: html, install-html, install-dvi, install-pdf, install-pdf, install-info. - `make distcheck' works also when both a directory and some file below it have been added to a distribution variable, such as EXTRA_DIST or *_SOURCES. - Texinfo dvi, ps, pdf, and html output files are not removed upon `make mostlyclean' any more; only the LaTeX by-products are. - Renamed objects also work with the `subdir-objects' option and source file languages which Automake does not know itself. - `automake' now correctly complains about variable assignments which are preceded by a comment, extend over multiple lines with backslash-escaped newlines, and end in a comment sign. Previous versions would silently and wrongly ignore such assignments completely. * Bugs introduced by 1.10: - Fix output of dummy dependency files in presence of post-processed Makefile.in's again, but also cope with long lines. - $(EXEEXT) is automatically appended to filenames of XFAIL_TESTS that have been declared as programs in the same Makefile. This is for consistency with the analogous change to TESTS in 1.10. - Fix order of standard includes to again be `-I. -I$(srcdir)', followed by directories containing config headers.
2009-06-08 16:44:35 +02:00
LICENSE= gnu-gpl-v2
Update to 1.11: New in 1.11: * Version requirements: - Autoconf 2.62 or greater is required. * Changes to aclocal: - The autoconf version check implemented by aclocal in aclocal.m4 (and new in Automake 1.10) is degraded to a warning. This helps in the common case where the Autoconf versions used are compatible. * Changes to automake: - The automake program can run multiple threads for creating most Makefile.in files concurrently, if at least Perl 5.7.2 is available with interpreter-based threads enabled. Set the environment variable AUTOMAKE_JOBS to the maximum number of threads to use, in order to enable this experimental feature. * Changes to Libtool support: - Libtool generic flags are now passed to the install and uninstall modes as well. - distcheck works with Libtool 2.x even when LT_OUTPUT is used, as config.lt is removed correctly now. * Languages changes: - subdir-object mode works now with Fortran (F77, FC, preprocessed Fortran, and Ratfor). - For files with extension .f90, .f95, .f03, or .f08, the flag $(FCFLAGS_f[09]x) computed by AC_FC_SRCEXT is now used in compile rules. - Files with extension .sx are also treated as preprocessed assembler. - The default source file extension (.c) can be overridden with AM_DEFAULT_SOURCE_EXT now. - Python 3.0 is supported now, Python releases prior to 2.0 are no longer supported. - AM_PATH_PYTHON honors python's idea about the site directory. - There is initial support for the Vala programming language, when using Vala 0.7.0 or later. * Miscellaneous changes: - Automake development is done in a git repository on Savannah now, see http://git.sv.gnu.org/gitweb/?p=automake.git A read-only CVS mirror is provided at cvs -d :pserver:anonymous@pserver.git.sv.gnu.org:/automake.git \ checkout -d automake HEAD - "make dist" can now create xz-compressed tarballs, as well as (deprecated?) lzma-compressed tarballs. - `automake --add-missing' will by default install the GPLv3 file as COPYING if it is missing. It will also warn that the license file should be added to source control. Note that Automake will never overwrite an existing COPYING file, even when the `--force-missing' option is used. - The manual is now distributed under the terms of the GNU FDL 1.3. - Automake ships and installs man pages for automake and aclocal now. - New shorthand `$(pkglibexecdir)' for `$(libexecdir)/@PACKAGE@'. - install-sh supports -C, which does not update the installed file (and its time stamps) if the contents did not change. - The `gnupload' script has been revamped. - The `depcomp' and `compile' scripts now work with MSVC under MSYS. - The targets `install' and `uninstall' are more efficient now, in that for example multiple files from one Automake variable such as `bin_SCRIPTS' are copied in one `install' (or `libtool --mode=install') invocation if they do not have to be renamed. Both install and uninstall may sometimes enter (`cd' into) the target installation directory now, when no build-local scripts are used. Both install and uninstall do not fail anymore but do nothing if an installation directory variable like `bindir' is set to the empty string. For built-in rules, `make install' now fails reliably if installation of a file failed. Conversely, `make uninstall' even succeeds when issued multiple times. These changes may need some adjustments from users: For example, some `install' programs refuse to install multiple copies of the same file in one invocation, so you may need to remove duplicate entries from file lists. Also, within one set of files, say, nobase_data_DATA, the order of installation may be changed, or even unstable among different hosts, due to the use of associative arrays in awk. The increased use of awk matches a similar move in Autoconf to provide for better scaling. Further, most undocumented per-rule install command variables such as binSCRIPT_INSTALL have been removed because they are not needed any more. Packages which use them should be using the appropriate one of INSTALL_{DATA,PROGRAM,SCRIPT} or their install_sh_{DATA,PROGRAM,SCRIPT} counterpart, depending on the type of files and the need for automatic target directory creation. - The "deleted header file problem" for *.m4 files is avoided by stub rules. This allows `make' to trigger a rerun of `aclocal' also if some previously needed macro file has been removed. - Rebuild rules now also work for a removed `subdir/Makefile.in' in an otherwise up to date tree. - The `color-tests' option causes colored test result output on terminals. - The `parallel-tests' option enables a new test driver that allows for parallel test execution, inter-test dependencies, lazy test execution for unit-testing, re-testing only failed tests, and formatted result output as RST (reStructuredText) and HTML. Enabling this option may require some changes to your test suite setup; see the manual for details. - The `silent-rules' option enables Linux kernel-style silent build output. This option requires the widely supported but non-POSIX `make' feature of recursive variable expansion, so do not use it if your package needs to build with `make' implementations that do not support it. To enable less verbose build output, the developer has to use the Automake option `silent-rules' in `AM_INIT_AUTOMAKE', or call the `AM_SILENT_RULES' macro. The user may then set the default verbosity by passing the `--enable-silent-rules' option to `configure'. At `make' run time, this default may be overridden using `make V=0' for less verbose, and `make V=1' for backward-compatible verbose output. - New prefix `notrans_' for manpages which should not be transformed by --program-transform. - New macro AM_COND_IF for conditional evaluation and conditional config files. - For AC_CONFIG_LINKS, if source and destination are equal, do not remove the file in a non-VPATH build. Such setups work with Autoconf 2.62 or newer. - AM_MAINTAINER_MODE now allows for an optional argument specifying the default setting. - AM_SUBST_NOTMAKE may prevent substitution of AC_SUBSTed variables, useful especially for multi-line values. - Automake's early configure-time sanity check now diagnoses an unsafe absolute source directory name and makes configure fail. - The Automake macros and rules cope better with whitespace in the current directory name, as long as the relative path to `configure' does not contain whitespace. To this end, the values of `$(MISSING)' and `$(install_sh)' may contain suitable quoting, and their expansion might need `eval'uation if used outside of a makefile. These undocumented variables may be used in several documented macros such as $(AUTOCONF) or $(MAKEINFO). Bugs fixed in 1.11: * Long standing bugs: - Fix aix dependency tracking for libtool objects. - Work around AIX sh quoting issue in AC_PROG_CC_C_O, leading to unnecessary use of the `compile' script. - For nobase_*_LTLIBRARIES with nonempty directory components, the correct `-rpath' argument is used now. - `config.status --file=Makefile depfiles' now also works with the extra quoting used internally by Autoconf 2.62 and newer (it used to work only without the `--file=' bit). - The `missing' script works better with versioned tool names. - Semantics for `missing help2man' have been revamped: Previously, if `help2man' was not present, `missing help2man' would have the following semantics: if some man page was out of date but present, then a warning would be printed, but the exit status was 0. If the man page was not present at all, then `missing' would create a replacement man page containing an error message, and exit with a status of 2. This does not play well with `make': the next run will see this particular man page as being up to date, and will only error out on the next generated man page, if any; repeat until all pages are done. This was not desirable. These are the new semantics: if some man page is not present, and help2man is not either, then `missing' will warn and generate the replacement page containing the error message, but exit successfully. However, `make dist' will ensure that no such bogus man pages are packaged into a tarball. - Targets provided by automake behave better with `make -n', in that they take care not to create files. - `config.status Makefile... depfiles' works fine again in the presence of disabled dependency tracking. - The default no-op recursive rules for these targets also work with BSD make now: html, install-html, install-dvi, install-pdf, install-pdf, install-info. - `make distcheck' works also when both a directory and some file below it have been added to a distribution variable, such as EXTRA_DIST or *_SOURCES. - Texinfo dvi, ps, pdf, and html output files are not removed upon `make mostlyclean' any more; only the LaTeX by-products are. - Renamed objects also work with the `subdir-objects' option and source file languages which Automake does not know itself. - `automake' now correctly complains about variable assignments which are preceded by a comment, extend over multiple lines with backslash-escaped newlines, and end in a comment sign. Previous versions would silently and wrongly ignore such assignments completely. * Bugs introduced by 1.10: - Fix output of dummy dependency files in presence of post-processed Makefile.in's again, but also cope with long lines. - $(EXEEXT) is automatically appended to filenames of XFAIL_TESTS that have been declared as programs in the same Makefile. This is for consistency with the analogous change to TESTS in 1.10. - Fix order of standard includes to again be `-I. -I$(srcdir)', followed by directories containing config headers.
2009-06-08 16:44:35 +02:00
DEPENDS+= autoconf>=2.62:../../devel/autoconf
2006-11-02 18:59:37 +01:00
USE_TOOLS+= gm4:run perl:run
automake: update to 1.16.1. New in 1.16.1: * Bugs fixed: - 'install-sh' now ensures that nobody can cross privilege boundaries by pre-creating symlink on the directory inside "/tmp". - 'automake' does not depend on the 'none' subroutine of the List::Util module anymore to support older Perl version. (automake bug#30631) - A regression in AM_PYTHON_PATH causing the rejection of non literal minimum version parameter hasn't been fixed. (automake bug#30616) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.16: * Miscellaneous changes - When subdir-objects is in effect, Automake will now construct shorter object file names when no programs and libraries name clashes are encountered. This should make the discouraged use of 'foo_SHORTNAME' unnecessary in many cases. * Bugs fixed: - Automatic dependency tracking has been fixed to work also when the 'subdir-object' option is used and some 'foo_SOURCES' definition contains unexpanded references to make variables, as in, e.g.: a_src = sources/libs/aaa b_src = sources/bbb foo_SOURCES = $(a_src)/bar.c $(b_src)/baz.c With such a setup, the created makefile fragment containing dependency tracking information will be correctly placed under the directories named 'sources/libs/aaa/.deps' and 'sources/bbb/.deps', rather than mistakenly under directories named (literally!) '$(src_a)/.deps' and '$(src_b)/.deps' (this was the first part of automake bug#13928). Notice that in order to fix this bug we had to slightly change the semantics of how config.status bootstraps the makefile fragments required for the dependency tracking to work: rather than attempting to parse the Makefiles via grep and sed trickeries only, we actually invoke 'make' on a slightly preprocessed version of those Makefiles, using a private target that is only meant to bootstrap the required makefile fragments. - The 'subdir-object' option no longer causes object files corresponding to source files specified with an explicit '$(srcdir)' component to be placed in the source tree rather than in the build tree. For example, if Makefile.am contains: AUTOMAKE_OPTIONS = subdir-objects foo_SOURCES = $(srcdir)/foo.c $(srcdir)/s/bar.c $(top_srcdir)/baz.c then "make all" will create 'foo.o' and 's/bar.o' in $(builddir) rather than in $(srcdir), and will create 'baz.o' in $(top_builddir) rather than in $(top_srcdir). This was the second part of automake bug#13928. - Installed 'aclocal' m4 macros can now accept installation directories containing '@' characters (automake bug#20903) - "./configure && make dist" no longer fails when a distributed file depends on one from BUILT_SOURCES. - When combining AC_LIBOBJ or AC_FUNC_ALLOCA with the "--disable-dependency-tracking" configure option in an out of source build, the build sub-directory defined by AC_CONFIG_LIBOBJ_DIR is now properly created. (automake bug#27781) - The time printed by 'mdate-sh' is now using the UTC time zone to support the reproducible build effort. (automake bug#20314) - The elisp byte-compilation rule now uses byte-compile-dest-file-function, rather than byte-compile-dest-file, which was obsoleted in 2009. We expect that Emacs-26 will continue to support the old function, but will complain loudly, and that Emacs-27 will remove support for it altogether. * New features added - A custom testsuite driver for the Guile Scheme SRFI-64 API has been added to the "contrib" section. This allows a more convenient way to test Guile code without having to use low primitives such as exit status. See SRFI-64 API specification for more details: <https://srfi.schemers.org/srfi-64/srfi-64.html>
2018-12-01 05:58:36 +01:00
PLIST_SUBST+= PKG_DIR_VERSION=1.16
2001-11-28 06:20:38 +01:00
GNU_CONFIGURE= YES
_STRIPFLAG_INSTALL= # none
INFO_FILES= YES
# doesn't work because buildlink3 hides scripts
# from autoconf too well
#TEST_TARGET= check
2003-10-19 03:34:13 +02:00
.include "../../mk/bsd.pkg.mk"