• Show log

    Commit

  • Hash : 851b1ae2
    Author : Stefano Lattarini
    Date : 2011-10-02T10:38:48

    dist: simplify automake code accordingly to the previous changes
    
    After the previous change `v1.11-1219-g326ecba', every Makefile.am
    requiring a file in the "config auxdir" will cause it to be listed
    in the DIST_COMMON variable of the corresponding generated
    Makefile.in, not only of the top-level Makefile.in.  Thus we don't
    need to worry anymore about trying to distribute files in the
    config auxdir from the top-level Makefile or the Makefile in
    config auxdir (if any).  This allows us to carry out some useful
    simplifications in the automake script.
    
    This will however cause some changes in the generated Makefile;
    for example, if the `PROGRAMS' primary is used only in a subdir
    Makefile.am, the `depcomp' script will be distributed only by
    `subdir/Makefile', not by the top-level Makefile.  This change
    can be seen as an internal detail though, and definitely warranted
    by the nice simplifications the current commit provides.
    
    * automake.in ($automake_will_process_aux_dir): Variable removed.
    (scan_autoconf_files): Adjust and simplify.
    (handle_makefiles_threaded): Likewise.
    (get_number_of_threads): Likewise.
    (require_file_internal): Likewise.
    (maybe_push_required_file): Its return value is not used anymore,
    so return nothing.  Add special handling for distributed files from
    `$config_libobj_dir'.  Also, catch "this can't happen" situations,
    and abort accordingly.  Fix function description to better fit its
    new role.
    * tests/libobj19.test: Extend to also check situations where the
    Makefile.am using $(LIBOBJS) is not the top-level one.
    * tests/distcom6.test: Delete, merged into ...
    * tests/distcom2.test: ... this test, which has been update to
    account for the changed automake semantics.
    * tests/Makefile.am (TESTS): Update.
    * NEWS: Update.
    

  • README

  • This is Automake, a Makefile generator.  It was inspired by the 4.4BSD
    make and include files, but aims to be portable and to conform to the
    GNU Coding Standards for Makefile variables and targets.
    
    Automake is a Perl script.  The input files are called Makefile.am.
    The output files are called Makefile.in; they are intended for use
    with Autoconf.  Automake requires certain things to be done in your
    configure.ac.
    
    Variable assignment lines in Makefile.am pull in defaults from various
    little *.am files.
    
    To use Automake, replace your Makefile.in files with Makefile.am
    files.  Read the documentation to see what to do.
    
    This package also includes the "aclocal" program.  aclocal is a
    program to generate an `aclocal.m4' based on the contents of
    `configure.ac'.  It is useful as an extensible, maintainable mechanism
    for augmenting autoconf.  It is intended that other package authors
    will write m4 macros which can be automatically used by aclocal.
    
    Automake has a test suite.  Use
    
    	make check
    
    to run it.  Capture its output in case of failing tests.  For more
    information, please see the file tests/README.
    
    Automake has a page on the web.  See:
    
    	http://sources.redhat.com/automake/
    
    The mailing list automake@gnu.org is for discussion of Automake and
    its interactions with other configuration/portability tools like
    Autoconf or Libtool.  Write to automake-request@gnu.org if you want to
    join.
    
    Mail suggestions and bug reports to bug-automake@gnu.org, patches
    to automake-patches@gnu.org.
    
    New releases are announced to autotools-announce@gnu.org.  Write to
    autotools-announce-request@gnu.org if you want to receive them.
    
    -----
    
    Copyright (C) 1994, 1995, 1996, 1997, 1998, 2001, 2003, 2008, 2009, 2011
      Free Software Foundation, Inc.
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2, or (at your option)
    any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.