[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/built-sourc
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, experimental/ng/built-sources, created. v1.12-194-g4697d04 |
Date: |
Sun, 06 May 2012 21:10:37 +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=4697d04b7526b53e84408ba02d381b985743f304
The branch, experimental/ng/built-sources has been created
at 4697d04b7526b53e84408ba02d381b985743f304 (commit)
- Log -----------------------------------------------------------------
commit 4697d04b7526b53e84408ba02d381b985743f304
Author: Stefano Lattarini <address@hidden>
Date: Sun May 6 22:54:45 2012 +0200
built sources, config.h: rely on order-only prerequisites
This approach avoids some extra make recursions, and makes the code a
little clearer. It cannot be used in mainline automake because order-only
prerequisites are supported only by GNU make.
* lib/am/install.am (install): Use order-only prerequisites (rather than
the hacky automake-time substitution '%maybe_BUILT_SOURCES%') to enforce
$(BUILT_SOURCES) being built before the targets 'install-recursive' and
'install-am'.
* automake.in (handle_install): Don't do the '%maybe_BUILT_SOURCES%'
substitution anymore.
(do_check_merge_target, handle_all): Use order-only prerequisites to
enforce $(BUILT_SOURCES) being built before the targets 'check-am',
'all-am', 'check-recursive' and 'all-recursive' targets.
(generate_makefile): Use 'set_seen' to mark the $(BUILT_SOURCES) variable
as "already analyzed", to let Automake know it shouldn't expect to have
to deal with a program named 'BUILT' when a definition of that variable is
seen.
* t/built-sources-check.sh: Remove obsolete grepping check.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 20bffc98f5f8bfddafcf809c77d6dac4240a9a7e
Author: Stefano Lattarini <address@hidden>
Date: Sun May 6 20:59:28 2012 +0200
built sources: enhance testsuite coverage
This will be useful in a later refactoring.
* t/built-sources.sh: New test, checks basic functionality for
BUILT_SOURCES.
* t/built-sources.sh: New test, checks basic interaction between
BUILT_SOURCES and Automake conditionals.
* t/check3.sh: Split this out ...
* t/built-sources-check.sh, t/built-sources-install.sh: ... into
these tests, to offer more granularity and make the purpose of the
tests immediately clear from their names.
* t/subdirbuiltsources.sh: Rename this ...
* t/built-sources-subdir.sh: ... to this, for consistency. Since
we are at it, fix a couple of typos and remove redundant stuff.
Signed-off-by: Stefano Lattarini <address@hidden>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, experimental/ng/built-sources, created. v1.12-194-g4697d04,
Stefano Lattarini <=