automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, experimental/ng/no-suffixe-


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/ng/no-suffixe-rules, created. v1.12-207-g451ca1c
Date: Wed, 09 May 2012 20:53:42 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=451ca1c9b37900075d6ab5e49d6ab6cdad2ffcc4

The branch, experimental/ng/no-suffixe-rules has been created
        at  451ca1c9b37900075d6ab5e49d6ab6cdad2ffcc4 (commit)

- Log -----------------------------------------------------------------
commit 451ca1c9b37900075d6ab5e49d6ab6cdad2ffcc4
Author: Stefano Lattarini <address@hidden>
Date:   Wed May 9 17:57:59 2012 +0200

    rules: prefer pattern rules over old-fashioned suffix rules
    
    Not only pattern rules are cleaner, safer, and vouched for in the GNU
    make manual itself, but they will also allow us to obtain substantial
    simplifications in the automake script, auxiliary perl modules, and
    documentation.
    
    This introduces a slight backward-incompatibility now, in that user-provided
    definitions of the 'SUFFIXES' variable are now rejected.
    
    * lib/am/footer.am: Declare '.SUFFIXES:' with empty dependencies, to
    neutralize the default suffix rules.
    * automake.in (&handle_footer): Reject the 'SUFFIXES' variable.  Don't
    process its content anymore.  Don't generate the .SUFFIXES special target
    anymore.
    (&register_language): Don't bother registering the suffix rules anymore.
    This should be OK, since all the relevant '.am' fragments (e.g., yacc.am
    or depend2.am) now use pattern rules, not suffix rules.
    (&var_SUFFIXES_trigger): Remove.  And don't install it as an hook for the
    now-deprecated 'SUFFIXES' variable.
    (handle_single_transform): Don't try to "correct" the source extension
    by taking into account possible suffix rules; this was done ...
    (derive_suffix): ... with this variable, that has thus been removed.
    * lib/Automake/Rule.pm (&define): Don't process old-fashioned suffix rules
    specially, but just reject them.
    (&register_suffix_rule, &suffix_rules_count, &suffixes, @_suffixes,
    $suffix_rules, $_suffix_rules_default): Delete.
    (@EXPORT): Adjust.
    ($_SUFFIX_RULE_PATTERN): Made local to the '&define' function.
    * t/ext3.sh: Remove as obsolete.
    * t/suffix-rules-reject.sh: New test.
    * t/txinfo6: Adjust.
    * t/parallel-tests8.sh: Likewise.
    * t/warnings-strictness-interactions.sh: Likewise.
    * t/warnings-win-over-strictness.sh: Likewise.
    * t/warnings-precedence.sh: Likewise.
    * t/warnings-override.sh: Likewise.
    * t/warning-groups-win-over-strictness.sh: Likewise.
    * t/amopts-variable-expansion.sh: Likewise.
    * t/specflg10.sh: Adjust. XXX XXX XXX
    
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 370fa63e2dd4e48bbed017a78f52c95c8e452b49
Author: Stefano Lattarini <address@hidden>
Date:   Wed May 9 14:04:31 2012 +0200

    am: prefer pattern rules over old-fashioned suffix rules
    
    The use of pattern rules is cleaner, safer, and vouched for in the
    GNU make manual itself.  Moreover, it will allow us to obtain some
    simplifications in the automake script and the documentation in
    future changes.
    
    * lib/am/texinfos.am: Turn this suffix rules into pattern rules.
    * lib/am/texibuild.am: Likewise.
    * lib/am/depend2.am: Likewise.
    * lib/am/yacc.am: Likewise.
    * lib/am/lex.am: Likewise.
    * lib/am/lang-compile.am: Likewise.  Also, since we are at it, remove
    extra blank lines and quote 'like this' rather than `like this'.
    * t/ext.sh: Adjust.
    * t/objc-basic.sh: Likewise.
    * t/objcxx-basic.sh: Likewise.
    * t/suffix.sh: Likewise.
    * t/suffix2.sh: Likewise.  Also, define a dummy LIBTOOL in Makefile.am
    instead of requiring the libtool macros.
    * t/cxx.sh: Remove as obsolete.
    * t/nodep.sh: Likewise.
    
    Signed-off-by: Stefano Lattarini <address@hidden>

-----------------------------------------------------------------------


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]