pkgsrc/devel/automake/Makefile

35 lines
958 B
Makefile
Raw Normal View History

Update to 1.13.3: New in 1.13.3: * Documentation fixes: - The documentation no longer mistakenly reports that the obsolete 'AM_MKDIR_PROG_P' macro and '$(mkdir_p)' make variable are going to be removed in Automake 2.0. * Bugs fixed: - Byte-compilation of Emacs lisp files could fail spuriously on Solaris, when /bin/ksh or /usr/xpg4/bin/sh were used as shell. - If the same user-defined suffixes were transformed into different Automake-known suffixes in different Makefile.am files in the same project, automake could get confused and generate inconsistent Makefiles (automake bug#14441). For example, if 'Makefile.am' contained a ".ext.cc:" suffix rule, and 'sub/Makefile.am' contained a ".ext.c:" suffix rule, automake would have mistakenly placed into 'Makefile.in' rules to compile "*.c" files into object files, and into 'sub/Makefile.in' rules to compile "*.cc" files into object files --- rather than the other way around. This is now fixed. * Testsuite work: - The test cases no longer have the executable bit set. This should make it clear that they are not meant to be run directly; as explained in t/README, they can only be run through the custom 'runtest' script, or by a "make check" invocation. - The testsuite has seen the introduction of a new helper function 'run_make', and several related changes. These serve a two-fold purpose: 1. Remove brittleness due to the use of "make -e" in test cases. 2. Seamlessly allow the use of parallel make ("make -j...") in the test cases, even where redirection of make output is involved (see automake bug#11413 for a description of the subtle issues in this area). - Several spurious failures have been fixed (they hit especially MinGW/MSYS builds). See automake bugs #14493, #14494, #14495, #14498, #14499, #14500, #14501, #14517 and #14528. - Some other minor miscellaneous changes and fixlets.
2013-06-08 12:54:04 +02:00
# $NetBSD: Makefile,v 1.94 2013/06/08 10:54:04 wiz Exp $
#
# Note: when the minor version changes (e.g. 1.11 -> 1.12)
# emulators/b-em/hacks.mk needs to be updated for the new version.
# Please do so when updating automake as otherwise pbulk will choke.
# (It should be safe to make the change blindly.)
Update to 1.13.3: New in 1.13.3: * Documentation fixes: - The documentation no longer mistakenly reports that the obsolete 'AM_MKDIR_PROG_P' macro and '$(mkdir_p)' make variable are going to be removed in Automake 2.0. * Bugs fixed: - Byte-compilation of Emacs lisp files could fail spuriously on Solaris, when /bin/ksh or /usr/xpg4/bin/sh were used as shell. - If the same user-defined suffixes were transformed into different Automake-known suffixes in different Makefile.am files in the same project, automake could get confused and generate inconsistent Makefiles (automake bug#14441). For example, if 'Makefile.am' contained a ".ext.cc:" suffix rule, and 'sub/Makefile.am' contained a ".ext.c:" suffix rule, automake would have mistakenly placed into 'Makefile.in' rules to compile "*.c" files into object files, and into 'sub/Makefile.in' rules to compile "*.cc" files into object files --- rather than the other way around. This is now fixed. * Testsuite work: - The test cases no longer have the executable bit set. This should make it clear that they are not meant to be run directly; as explained in t/README, they can only be run through the custom 'runtest' script, or by a "make check" invocation. - The testsuite has seen the introduction of a new helper function 'run_make', and several related changes. These serve a two-fold purpose: 1. Remove brittleness due to the use of "make -e" in test cases. 2. Seamlessly allow the use of parallel make ("make -j...") in the test cases, even where redirection of make output is involved (see automake bug#11413 for a description of the subtle issues in this area). - Several spurious failures have been fixed (they hit especially MinGW/MSYS builds). See automake bugs #14493, #14494, #14495, #14498, #14499, #14500, #14501, #14517 and #14528. - Some other minor miscellaneous changes and fixlets.
2013-06-08 12:54:04 +02:00
DISTNAME= automake-1.13.3
CATEGORIES= devel
Update to 1.8: * New features - Default source file names in the absence of a _SOURCES declaration are made by removing any target extension before appending `.c', so to make the libtool module `foo.la' from `foo.c', you only need to do this: lib_LTLIBRARIES = foo.la foo_la_LDFLAGS = -module For backward compatibility, foo_la.c will be used instead of foo.c if this file exists or is the explicit target of a rule. However -Wobsolete will warn about this deprecated naming. - AR's `cru' flags are now set in a global ARFLAGS variable instead of being hard-coded in each $(AR) invocation, so they can be substituted from configure.ac. This has been requested by people dealing with non-POSIX ar implementations. - New warning option: -Woverride. This will warn about any user target or variable definitions which override Automake definitions. - Texinfo rules back up and restore info files when makeinfo fails. - Texinfo rules now support the `html' target. Running this requires Texinfo 4.0 or greater. `html' is a new recursive target, so if your package mixes hand-crafted `Makefile.in's with Automake-generated `Makefile.in's, you should adjust the former to support (or ignore) this target so that `make html' recurses successfully. If you had a custom `html' rule in your `Makefile.am', it's better to rename it as `html-local', otherwise your rule will override Automake's new rule (you can check that by running `automake -Woverride') and that will stop the recursion to subdirectories. Last but not least, this `html' rule is declared PHONY, even when overridden. Fortunately, it appears that few packages use a non-PHONY `html' rule. - Any file which is m4_included from configure.ac will appear as a configure and Makefile.in dependency, and will be automatically distributed. - The rules for rebuilding Makefiles and Makefile.ins will now rebuild all Makefiles and all Makefile.ins at once when one of configure's dependencies has changed. This is considerably faster than previous implementations, where config.status and automake were run separately in each directory (this still happens when you change a Makefile.am locally, without touching configure.ac or friends). Doing this also solves a longstanding issue: these rebuild rules failed to work when adding new directories to the tree, forcing you to run automake manually. - For similar reasons, the rules to rebuild configure, config.status, and aclocal.m4 are now defined in all directories. Note that if you were using the CONFIG_STATUS_DEPENDENCIES and CONFIGURE_DEPENDENCIES (formerly undocumented) variables, you should better define them in all directories. This is easily done using an AC_SUBST (make sure you prefix these dependencies with $(top_srcdir) since this variable will appear at different levels of the build tree). - aclocal will now use `m4_include' instead of copying local m4 files into aclocal.m4. (Local m4 files are those you ship with your project, other files will be copied as usual.) Because m4_included files are automatically distributed, it means for most projects there is no point in EXTRA_DISTing the list of m4 files which are used. (You can probably get rid of m4/Makefile.am if you had one.) - aclocal will avoid touching aclocal.m4 when possible, so that Autom4te's cache isn't needlessly invalidated. This behavior can be switched off with the new `--force' option. - aclocal now uses Autoconf's --trace to detect macros which are actually used and will no longer include unused macros simply because they where mentioned. This was often the case for macros called conditionally. - New options no-dist and no-dist-gzip. - compile, depcomp, elisp-comp, install-sh, mdate-sh, mkinstalldirs, py-compile, and ylwrap, now all understand --version and --help. - Automake will now recognize AC_CONFIG_LINKS so far as removing created links as part of the distclean target and including source files in distributions. - AM_PATH_PYTHON now supports ACTION-IF-FOUND and ACTION-IF-NOT-FOUND argument. The latter can be used to override the default behavior (which is to abort). - Automake will exit with $? = 63 on version mismatch. (So does Autoconf 2.58) missing knows this, and in this case it will emulate the tools as if they were absent. Because older versions of Automake and Autoconf did not use this exit code, this change will only be useful in projects generated with future versions of these tools. - When using AC_CONFIG_FILES with multiple input files, Automake generates the first ".in" input file for which a ".am" exists. (Former versions would try to use only the first input file.) - lisp_DATA is now allowed. If you are using the empty ELCFILES idiom to disable byte-compilation of lisp_LISP files, it is recommended that you switch to using lisp_DATA. Note that this is not strictly equivalent: lisp_DATA will install elisp files even if emacs is not installed, while *_LISP do not install anything unless emacs is found. - Makefiles will prefer `mkdir -p' over mkinstalldirs if it is available. This selection is achieved through the Makefile variable $(mkdir_p) that is set by AM_INIT_AUTOMAKE to either `mkdir -m 0755 -p --', `$(mkinstalldirs) -m 0755', or `$(install_sh) -m 0755 -d'. * Obsolete features - Because `mkdir -p' is available on most platforms, and we can use `install-sh -d' when it is not, the use of the mkinstalldirs script is being phased out. `automake --add-missing' no longer installs it, and if you remove mkinstalldirs from your package, automake will define $(mkinstalldirs) as an alias for $(mkdir_p). Gettext 1.12.1 still requires mkinstalldirs. Fortunately gettextize and autopoint will install it when needed. Automake will continue to define the $(mkinstalldirs) and to distribute mkinstalldirs when this script is in the source tree. - AM_PROG_CC_STDC is now empty. The content of this macro was merged in AC_PROG_CC. If your code uses $am_cv_prog_cc_stdc, you should adjust it to use $ac_cv_prog_cc_stdc instead. (This renaming should be safe, even if you have to support several, versions of Automake, because AC_PROG_CC defines this variable since Autoconf 2.54.) - Some users where using the undocumented ACLOCAL_M4_SOURCES variable to override the aclocal.m4 dependencies computed (inaccurately) by older versions of Automake. Because Automake now tracks configure's m4 dependencies accurately (see m4_include above), the use of ACLOCAL_M4_SOURCES should be considered obsolete and will be flagged as such when running `automake -Wobsolete'. * Bug fixes - Defining programs conditionally using Automake conditionals no longer leads to a combinatorial explosion. The following construct used to be troublesome when used with dozens of conditions. bin_PROGRAMS = a if COND1 bin_PROGRAMS += a1 endif if COND2 bin_PROGRAMS += a2 endif if COND3 bin_PROGRAMS += a3 endif ... Likewise for _SOURCES, _LDADD, and _LIBADD variables. - Due to implementation constraints, previous versions of Automake proscribed multiple conditional definitions of some variables like bin_PROGRAMS: if COND1 bin_PROGRAMS = a1 endif if COND2 bin_PROGRAMS = a2 endif All _PROGRAMS, _LDADD, and _LIBADD variables were affected. This restriction has been lifted, and these variables now support multiple conditional definitions as do other variables. - Cleanup the definitions of $(distdir) and $(top_distdir). $(top_distdir) now points to the root of the distribution directory created during `make dist', as it did in Automake 1.4, not to the root of the build tree as it did in intervening versions. Furthermore these two variables are now only defined in the top level Makefile, and passed to sub-directories when running `make dist'. - The --no-force option now correctly checks the Makefile.in's dependencies before deciding not to update it. - Do not assume that make files are called Makefile in cleaning rules. - Update .info files in the source tree, not in the build tree. This is what the GNU Coding Standard recommend. Only Automake 1.7.x used to update these files in the build tree (previous versions did it in the source tree too), and it caused several problems, varying from mere annoyance to portability issues. - COPYING, COPYING.LIB, and COPYING.LESSER are no longer overwritten when --add-missing and --force-missing are used. For backward compatibility --add-missing will continue to install COPYING (in `gnu' strictness) when none of these three files exist, but this use is deprecated: you should better choose a license yourself and install it once for all in your source tree (and in your code management system). - Fix ylwrap so that it does not overwrite header files that haven't changed, as the inline rule already does. - User-defined rules override automake-defined rules for the same targets, even when rules do not have commands. This is not new (and was documented), however some of the automake-generated rules have escaped this principle in former Automake versions. Rules for the following targets are affected by this fix: clean, clean-am, dist-all, distclean, distclean-am, dvi, dvi-am, info, info-am, install-data-am, install-exec-am, install-info, install-info-am, install-man, installcheck-am, maintainer-clean, maintainer-clean-am, mostlyclean, mostlyclean-am, pdf, pdf-am, ps, ps-am, uninstall-am, uninstall-info, uninstall-man Practically it means that an attempt to supplement the dependencies of some target, as in clean: my-clean-rule will now *silently override* the automake definition of the rule for this target. Running `automake -Woverride' will diagnose all such overriding definitions. It should be noted that almost all these targets support a *-local variant that is meant to supplement the automake-defined rule (See node `Extending' in the manual). The above rule should be rewritten as clean-local: my-clean-rule These *-local targets have been documented since at least Automake 1.2, so you should not fear the change if you have to support multiple automake versions. * Miscellaneous - The Automake manual is now distributed under the terms of the GNU FDL. - Targets dist-gzip, dist-bzip2, dist-tarZ, dist-zip are always defined. - core dumps are no longer removed by the cleaning rules. There are at least three reasons for this: 1. These files should not be created by any build step, so their removal do not fit any of the cleaning rules. Actually, they may be precious to the developer. 2. If such file is created during a build, then it's clearly a bug Automake should not hide. Not removing the file will cause `make distcheck' to complain about its presence. 3. Operating systems have different naming conventions for core dump files. A core file on one system might be a completely legitimate data file on another system. - RUNTESTFLAGS, CTAGSFLAGS, ETAGSFLAGS, JAVACFLAGS are no longer defined by Automake. This means that any definition in the environment will be used, unless overridden in the Makefile.am or on the command line. The old behavior, where these variables were defined empty in each Makefile, can be obtained by AC_SUBSTing or AC_ARG_VARing each variable from configure.ac. - CONFIGURE_DEPENDENCIES and CONFIG_STATUS_DEPENDENCIES are now documented. (The is not a new feature, these variables have been there since at least Automake 1.4.)
2003-12-11 17:32:34 +01:00
MASTER_SITES= ${MASTER_SITE_GNU:=automake/} \
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
Update to 1.13.1. Let me know what breaks (in pkgsrc only :) ). New in 1.13.1: * WARNING: Future backward-incompatibilities! - Automake 1.14 will likely require Autoconf 2.70 or later (which is still unreleased at the moment of writing, but is planned to be released before Automake 1.14 is). - Automake 1.14 will likely drop support for the long-deprecated 'configure.in' name for the Autoconf input file. You are advised to use the recommended name 'configure.ac' instead. - The long-obsolete (since automake 1.10) AM_PROG_MKDIR m4 macro will be removed in Automake 1.14. The $(mkdir_p) make variable and the @mkdir_p@ substitution will still remain available (as aliases of $(MKDIR_P)) for the moment, for better backward compatibility; but you are advised to stop using ASAP. - The ACLOCAL_AMFLAGS special make variable will be fully deprecated in Automake 1.14 (where it will raise warnings in the "obsolete" category). You are advised to start relying on the new Automake support for AC_CONFIG_MACRO_DIRS instead (which is introduced with this release; see below for more information). - Support for IRIX and the SGI C/C++ compilers will be removed in Automake 1.14: they have seen their last release in 2006, and SGI is expected to retire support from them in December 2013; see <http://www.sgi.com/services/support/irix_mips_support.html> for more information. - Future versions of Automake might remove support for MS-DOS and Windows 95/98/ME (support for them was offered by relying on the DJGPP project). Note however that both Cygwin and MSYS/MinGW on modern Windows versions will continue to be fully supported. - Support for the long-deprecated INCLUDES variable will be removed altogether in Automake 1.14. The AM_CPPFLAGS variable should be used instead. - Automake-provided scripts and makefile recipes might (finally!) start assuming a POSIX shell in Automake 1.14. - Starting from Automake 1.14, third-party m4 files located in the system-wide aclocal directory, as well as in any directory listed in the ACLOCAL_PATH environment variable, will take precedence over "built-in" Automake macros. For example (assuming Automake is installed in the /usr/local hierarchy), a definition of the AM_PROG_VALAC macro found in '/usr/local/share/aclocal/my-vala.m4' should take precedence over the same-named automake-provided macro (defined in '/usr/local/share/aclocal-1.14/vala.m4'). * Bugs fixed: - Use of the obsolete macros AM_CONFIG_HEADER or AM_PROG_CC_STDC now causes a clear and helpful error message, instead of obscure ones (issue introduced in Automake 1.13). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New in 1.13: * Bugs fixed: - ylwrap renames properly header guards in generated header files (*.h), instead of leaving Y_TAB_H. - ylwrap now also converts header guards in implementation files (*.c). Because ylwrap failed to rename properly #include in the implementation files, current versions of Bison (e.g., 2.7) duplicate the generated header file in the implementation file. The header guard then protects the implementation file from duplicate definitions from the header file. * Version requirements: - Autoconf 2.65 or greater is now required. - The rules to build PDF and DVI output from Texinfo input now require Texinfo 4.9 or later. * Obsolete features: - Support for the "Cygnus-style" trees (once enabled by the 'cygnus' option) has been removed. See discussion about automake bug#11034 for more background: <http://debbugs.gnu.org/11034>. - The deprecated aclocal option '--acdir' has been removed. You should use the options '--automake-acdir' and '--system-acdir' instead (which have been introduced in Automake 1.11.2). - The following long-obsolete m4 macros have been removed: AM_PROG_CC_STDC: superseded by AC_PROG_CC since October 2002 fp_PROG_CC_STDC: broken alias for AM_PROG_CC_STDC fp_WITH_DMALLOC: old alias for AM_WITH_DMALLOC AM_CONFIG_HEADER: superseded by AC_CONFIG_HEADERS since July 2002 ud_PATH_LISPDIR: old alias for AM_PATH_LISPDIR jm_MAINTAINER_MODE: old alias for AM_MAINTAINER_MODE ud_GNU_GETTEXT: old alias for AM_GNU_GETTEXT gm_PROG_LIBTOOL: old alias for AC_PROG_LIBTOOL fp_C_PROTOTYPES: old alias for AM_C_PROTOTYPES (which was part of the now-removed automatic de-ANSI-fication support of Automake) - All the "old alias" macros in 'm4/obsolete.m4' have been removed. - Use of the long-deprecated two- and three-arguments invocation forms of the AM_INIT_AUTOMAKE is no longer documented. It's still supported though (albeit with a warning in the 'obsolete' category), to cater for people who want to define the version number for their package dynamically (e.g., from the current VCS revision). We'll have to continue this support until Autoconf itself is fixed to allow better support for such dynamic version numbers. * Elisp byte-compilation: - The byte compilation of '.el' files into '.elc' files is now done with a suffix rule. This has simplified the compilation process, and more importantly made it less brittle. The downside is that emacs is now invoked once for each '.el' files, which cause some noticeable slowdowns. These should however be mitigated on multicore machines (which are becoming the norm today) if concurrent make ("make -j") is used. - Elisp files placed in a subdirectory are now byte-compiled to '.elc' files in the same subdirectory; for example, byte-compiling of file 'sub/foo.el' file will result in 'sub/foo.elc' rather than in 'foo.elc'. This behaviour is backward-incompatible with older Automake versions, but it is more natural and more sane. See also automake bug#7441. - The Emacs invocation performing byte-compilation of '.el' files honors the $(AM_ELCFLAGS) and $(ELCFLAGS) variables; as typical, the former one is developer-reserved and the latter one user-reserved. - The 'elisp-comp' script, once provided by Automake, has been rendered obsoleted by the just-described changes, and thus removed. * Changes to Automake-generated testsuite harnesses: - The parallel testsuite harness (previously only enabled by the 'parallel-tests' option) is the default one; the older serial testsuite harness will still be available through the use of the 'serial-tests' option (introduced in Automake 1.12). - The 'color-tests' option is now unconditionally activated by default. In particular, this means that testsuite output is now colorized by default if the attached terminal seems to support ANSI escapes, and that the user can force output colorization by setting the variable AM_COLOR_TESTS to "always". The 'color-tests' is still recognized for backward-compatibility, although it's a handled as a no-op now. * Silent rules support: - Support for silent rules is now always active in Automake-generated Makefiles. So, although the verbose output is still the default, the user can now always use "./configure --enable-silent-rules" or "make V=0" to enable quieter output in the package he's building. - The 'silent-rules' option has now become a no-op, preserved for backward-compatibility only. In particular, its use no longer disables the warnings in the 'portability-recursive' category. * Texinfo Support: - The rules to build PDF and DVI files from Texinfo input now require Texinfo 4.9 or later. - The rules to build PDF and DVI files from Texinfo input now use the '--build-dir' option, to keep the auxiliary files used by texi2dvi and texi2pdf around without cluttering the build directory, and to make it possible to run the "dvi" and "pdf" recipes in parallel. * Automatic remake rules and 'missing' script: - The 'missing' script no longer tries to update the timestamp of out-of-date files that require a maintainer-specific tool to be remade, in case the user lacks such a tool (or has a too-old version of it). It just gives a useful warning, and in some cases also a tip about how to obtain such a tool. - The missing script has thus become useless as a (poor) way to work around the sketched-timestamps issues that can happen for projects that keep generated files committed in their VCS repository. Such projects are now encouraged to write a custom "fix-timestamps.sh" script to avoid such issues; a simple example is provided in the "CVS and generated files" chapter of the automake manual. * Recursive targets: - The user can now define his own recursive targets that recurse in the directories specified in $(SUBDIRS). This can be done by specifying the name of such targets in invocations of the new 'AM_EXTRA_RECURSIVE_TARGETS' m4 macro. * Tags: - Any failure in the recipe of the "tags", "ctags", "cscope" or "cscopelist" targets in a subdirectory is now propagated to the top-level make invocation. - Tags are correctly computed also for files in _SOURCES variables that only list files with non-standard suffixes (see automake bug#12372). * Improvements to aclocal and related rebuilds rules: - Autoconf-provided macros AC_CONFIG_MACRO_DIR and AC_CONFIG_MACRO_DIRS are now traced by aclocal, and can be used to declare the local m4 include directories. Formerly, one had to specify it with an explicit '-I' option to the 'aclocal' invocation. - The special make variable ACLOCAL_AMFLAGS is deprecated; future Automake versions will warn about its use, and later version will remove support for it altogether. * The depcomp script: - Dropped support for libtool 1.4. - Various internal refactorings. They should cause no visible change, but the chance for regression is there anyway, so please report any unexpected or suspicious behaviour. - Support for pre-8.0 versions of the Intel C Compiler has been dropped. This should cause no problem, since icc 8.0 has been released in December 2003 -- almost nine years ago. - Support for tcc (the Tiny C Compiler) has been improved, and is now handled through a dedicated 'tcc' mode. * The ylwrap script: - ylwrap generates header guards with a single '_' for series of non alphabetic characters, instead of several. This is what Bison >= 2.5.1 does.
2013-01-21 14:51:23 +01:00
PLIST_SUBST+= PKG_DIR_VERSION=1.13
2001-11-28 06:20:38 +01:00
GNU_CONFIGURE= YES
_STRIPFLAG_INSTALL= # none
INFO_FILES= YES
Update to 1.12: * WARNING: Future backward-incompatibilities! - Starting from the next major Automake version (1.13), the rules to build pdf, ps and dvi output from Texinfo input will use the '--tidy' option by default. Since such an option was introduced in Texinfo 4.9, this means that Makefiles generated by future Automake versions will require at least that version of Texinfo. - Starting from the next major Automake version (1.13), the parallel testsuite harness (previously only enabled by the 'parallel-tests' option) will become the default one; the older serial testsuite harness will still be available through the use of the 'serial-tests' option. - The following long-obsolete m4 macros will be removed in the next major Automake version (1.13): AM_PROG_CC_STDC: superseded by AC_PROG_CC since October 2002 fp_PROG_CC_STDC: broken alias for AM_PROG_CC_STDC fp_WITH_DMALLOC: old alias for AM_WITH_DMALLOC AM_CONFIG_HEADER: superseded by AC_CONFIG_HEADERS since July 2002 ud_PATH_LISPDIR: old alias for AM_PATH_LISPDIR jm_MAINTAINER_MODE: old alias for AM_MAINTAINER_MODE ud_GNU_GETTEXT: old alias for AM_GNU_GETTEXT gm_PROG_LIBTOOL: old alias for AC_PROG_LIBTOOL fp_C_PROTOTYPES: old alias for AM_C_PROTOTYPES (which was part of the now-removed automatic de-ANSI-fication support of Automake) - All the "old alias" macros in 'm4/obsolete.m4' will be removed in the next major Automake version (1.13). - Support for the "Cygnus-style" trees (enabled by the 'cygnus' option) will be deprecated in the next minor version of Automake (1.12.1) and removed in the next major version (1.13). - Support for the two- and three-arguments invocation forms of the AM_INIT_AUTOMAKE macro will be deprecated in the next minor version of Automake (1.12.1) and removed in the next major version (1.13). - The long-obsolete (since 1.10) automake-provided $(mkdir_p) make variable, @mkdir_p@ substitution and AM_PROG_MKDIR m4 macro will all be deprecated in the next minor version of Automake (1.12.1) and removed in the next major version (1.13). - The '--acdir' option of aclocal is deprecated, and will probably be removed in the next major Automake release (1.13). You should use the options '--automake-acdir' and '--system-acdir' instead (which have been introduced in Automake 1.11.2). - 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.13). * Obsolete features removed: - The never documented nor truly used script 'acinstall' has been removed. - Support for automatic de-ANSI-fication has been removed. - The support for the "obscure" multilib feature has been removed from Automake core (but remains available in the 'contrib/' directory of the Automake distribution). - Support for ".log -> .html" conversion and the check-html and recheck-html targets has been removed from Automake core (but remains available in the 'contrib/' directory of the Automake distribution). - The deprecated 'lzma' compression format for distribution archives has been removed, in favor of 'xz' and 'lzip'. - The obsolete AM_WITH_REGEX macro has been removed. - The long-deprecated options '--output-dir', '--Werror' and '--Wno-error' have been removed. - The chapter on the history of Automake has been moved out of the reference manual, into a new dedicated Texinfo file. * New targets: - New 'cscope' target to build a cscope database for the source tree. * Changes to Automake-generated testsuite harnesses: - The new automake option 'serial-tests' has been introduced. It can be used to explicitly instruct automake to use the older serial testsuite harness. This is still the default at the moment, but it might change in future versions. - The 'recheck' target (provided by the parallel testsuite harness) now depends on the 'all' target. This allows for a better user-experience in test-driven development. See automake bug#11252. - Test scripts that exit with status 99 to signal an "hard error" (e.g., and unexpected or internal error, or a failure to set up the test case scenario) have their outcome reported as an 'ERROR' now. Previous versions of automake reported such an outcome as a 'FAIL' (the only difference with normal failures being that hard errors were counted as failures even when the test originating them was listed in XFAIL_TESTS). - The testsuite summary displayed by the parallel-test harness has a completely new format, that always list the numbers of passed, failed, xfailed, xpassed, skipped and errored tests, even when these numbers are zero (but using smart coloring when the color-tests option is in effect). - The default testsuite driver offered by the 'parallel-tests' option is now implemented (partly at least) with the help of automake-provided auxiliary scripts (e.g., 'test-driver'), instead of relying entirely on code in the generated Makefile.in. This has two noteworthy implications. The first one is that projects using the 'parallel-tests' option should now either run automake with the '--add-missing' option, or manually copy the 'test-driver' script into their tree. The second, and more important, implication is that now, when the 'parallel-tests' option is in use, TESTS_ENVIRONMENT can not be used anymore to define a test runner, and the command specified in LOG_COMPILER (and <ext>_LOG_COMPILER) must be a *real* executable program or script. For example, this is still a valid usage (albeit a little contorted): TESTS_ENVIRONMENT = \ if test -n '$(STRICT_TESTS)'; then \ maybe_errexit='-e'; \ else \ maybe_errexit=''; \ fi; LOG_COMPILER = $(SHELL) $$maybe_errexit while this is not anymore: TESTS_ENVIRONMENT = \ $(SHELL) `test -n '$(STRICT_TESTS_CHECKING)' && echo ' -e'` neither is this: TESTS_ENVIRONMENT = \ run_with_perl_or_shell () \ { \ if grep -q '^#!.*perl' $$1; then $(PERL) $$1; \ else \ $(SHELL) $$1; \ fi; \ } LOG_COMPILER = run_with_perl_or_shell - The package authors can now use customary testsuite drivers within the framework provided by the 'parallel-tests' testsuite harness. Consistently with the existing syntax, this can be done by defining special makefile variables 'LOG_DRIVER' and '<ext>_LOG_DRIVER'. - A new developer-reserved variable 'AM_TESTS_FD_REDIRECT' can be used to redirect/define file descriptors used by the test scripts. - The parallel-tests harness generates now, in addition the '.log' files holding the output produced by the test scripts, a new set of '.trs' files, holding "metadata" derived by the execution of the test scripts; among such metadata are the outcomes of the test cases run by a script. - Initial and still experimental support for the TAP test protocol is now provided. * Changes to Yacc and Lex support: - C source and header files derived from non-distributed Yacc and/or Lex sources are now removed by a simple "make clean" (while they were previously removed only by "make maintainer-clean"). - Slightly backward-incompatible change, relevant only for use of Yacc with C++: the extensions of the header files produced by the Yacc rules are now modelled after the extension of the corresponding sources. For example, yacc files named "foo.y++" and "bar.yy" will produce header files named "foo.h++" and "bar.hh" respectively, where they would have previously produced header files named simply "foo.h" and "bar.h". This change offers better compatibility with 'bison -o'. * Miscellaneous changes: - The AM_PROG_VALAC macro now causes configure to exit with status 77, rather than 1, if the vala compiler found is too old. - The build system of Automake itself now avoids the use of make recursion as much as possible. - Automake now prefers to quote 'like this' or "like this", rather than `like this', in diagnostic message and generated Makefiles, to accommodate the new GNU Coding Standards recommendations. - Automake has a new option '--print-libdir' that prints the path of the directory containing the Automake-provided scripts and data files. - The 'dist' and 'dist-all' targets now can run compressors in parallel. - The rules to create pdf, dvi and ps output from Texinfo files now works better with modern 'texi2dvi' script, by explicitly passing it the '--clean' option to ensure stray auxiliary files are not left to clutter the build directory. - Automake can now generate silenced rules for texinfo outputs. - Some auxiliary files that are automatically distributed by Automake (e.g., 'install-sh', or the 'depcomp' script for packages compiling C sources) might now be listed in the DIST_COMMON variable in many Makefile.in files, rather than in the top-level one. - Messages of types warning or error from 'automake' and 'aclocal' are now prefixed with the respective type, and presence of -Werror is noted. - 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. - The warnings in the category 'extra-portability' are now enabled by '-Wall'. In previous versions, one has to use '-Wextra-portability' to enable them. Bugs fixed in 1.12: - Various minor bugfixes for recent or long-standing bugs. * Bugs introduced by 1.11: - The AM_COND_IF macro also works if the shell expression for the conditional is no longer valid for the condition. - The automake-provided parallel testsuite harness does not fail anymore with BSD make used in parallel mode when there are test scripts in a subdirectory, like in: TESTS = sub/foo.test sub/bar.test * Long-standing bugs: - Automake's own build system finally have a real "installcheck" target. - Vala-related cleanup rules are now more complete, and work better in a VPATH setup. - Files listed with the AC_REQUIRE_AUX_FILE macro in configure.ac are now automatically distributed also if the directory of the auxiliary files coincides with the top-level directory. - Automake now detects the presence of the '-d' flag in the various '*YFLAGS' variables even when their definitions involve indirections through other variables, such as in: foo_opts = -d AM_YFLAGS = $(foo_opts) - Automake now complains if a '*YFLAGS' variable has any conditional content, not only a conditional definition. - Explicit enabling and/or disabling of Automake warning categories through the '-W...' options now always takes precedence over the implicit warning level implied by Automake strictness (foreign, gnu or gnits), regardless of the order in which such strictness and warning flags appear. For example, a setting like: AUTOMAKE_OPTIONS = -Wall --foreign will cause the warnings in category 'portability' to be enabled, even if those warnings are by default disabled in 'foreign' strictness.
2012-04-26 22:41:17 +02:00
REPLACE_PERL= lib/tap-driver.pl
# 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"