[Top][All Lists]

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

[Automake-commit] [SCM] GNU Automake branch, experimental/user-recursive

From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/user-recursive-targets, created. v1.12.1-75-g1af9304
Date: Tue, 12 Jun 2012 13:32:09 +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".;a=commitdiff;h=1af9304062e739965cab3ae087a6412985a8253e

The branch, experimental/user-recursive-targets has been created
        at  1af9304062e739965cab3ae087a6412985a8253e (commit)

- Log -----------------------------------------------------------------
commit 1af9304062e739965cab3ae087a6412985a8253e
Author: Stefano Lattarini <address@hidden>
Date:   Tue Jun 12 14:48:12 2012 +0200

    recursion: support user-defined recursive targets
    The user can now define his own recursive targets that recurse
    in the directories specified in $(SUBDIRS).  That can be done by
    specifying the name of such targets in invocations of the new
    The API goes like this:
        $ cat
        AC_INIT([pkg-name], [1.0]
        AC_CONFIG_FILES([Makefile sub/Makefile])
        $ cat
        SUBDIRS = sub
            @echo This will be run by "make foo".
        $ cat sub/
            @echo This too will be run by a "make foo" issued either in
            @echo the 'sub/' directory or in the top-level directory.
    Like for the "default" recursive targets (e.g., 'all' and 'check'),
    the user-defined recursive targets descend in the $(SUBDIRS) in a
    depth-first fashion, and process '.' last (unless that is explicitly
    specified in $(SUBDIRS)).
    * NEWS, doc/automake.texi: : XXX XXX TODO XXX XXX
    * (@extra_recursive_targets): New global variable.
    (scan_autoconf_traces): Trace macro '_AM_EXTRA_RECURSIVE_TARGETS'.
    (handle_user_recursion): New subroutine; among other things, it defines
    the new internal '$(am__extra_recursive_targets)' make variable, and
    the '*-am', '*-local' and '*-recursive' targets associated with the
    user-specified user recursive targets.
    (generate_makefile): Call the new subroutine.
    * lib/am/ (am__recursive_targets): New internal make variable,
    listing all of '$(RECURSIVE_TARGETS)', '$(RECURSIVE_CLEAN_TARGETS)' and
    '$(am__extra_recursive_targets)' together.
    (AM_RECURSIVE_TARGETS): Adjust the definition of this variable ...
    (.PHONY, .MAKE): ... and the list of dependencies of these special targets
    to take advantage of the new '$(am__recursive_targets)' variable.
    ($(am__recursive_targets)): New targets, superseding ...
    inheriting their rules.  This way, the rules to handle recursion for
    built-in recursive targets (e.g., 'all', 'dvi', 'clean') and for user
    defined recursive targets are the same.
    * m4/extra-recurs.m4: New file, contain definition of new macro
    These macros are basically dummy, only used for tracing by automake.
    * m4/ (dist_automake_ac_DATA): Update.
    * t/ New test.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Update.
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 09d1a4a1ecfeff2f26b8b6e7d3dc2884af5575ad
Author: Stefano Lattarini <address@hidden>
Date:   Tue Jun 12 10:11:35 2012 +0200

    tests: rename 'recurs*.test' to 'var-recurs*.test'
    * t/ Rename ...
    * t/ ...  to this.
    * t/ Rename ...
    * t/ ... to this.
    * tests/ Adjust
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 98bda3bf2c58ee46a2b9ca61605e061b7b416fe9
Author: Stefano Lattarini <address@hidden>
Date:   Tue Oct 5 22:19:46 2010 +0200

    tests: minor improvements to 'recurs*.test'
    * tests/recurs.test: Removed useless calls to AM_CONDITIONAL in
    the generated
    * tests/recurs2.test: Add trailing `:' command.
    Signed-off-by: Stefano Lattarini <address@hidden>


GNU Automake

reply via email to

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