[Top][All Lists]

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

[Automake-commit] [SCM] GNU Automake branch, experimental/preproc, creat

From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, experimental/preproc, created. v1.13.1b-77-gaa1fed8
Date: Sun, 03 Feb 2013 20:42:17 +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=aa1fed840df30418c3ed87fbc0b71307880c3614

The branch, experimental/preproc has been created
        at  aa1fed840df30418c3ed87fbc0b71307880c3614 (commit)

- Log -----------------------------------------------------------------
commit aa1fed840df30418c3ed87fbc0b71307880c3614
Author: Stefano Lattarini <address@hidden>
Date:   Sun Feb 3 20:55:55 2013 +0100

    automake: fixups for read_am_file() and calling code
    * (read_am_file): Adjust function prototype (was
    requiring only two arguments, rather than three).  Rename the
    parameter '$curdir' to the more correct '$reldir'.  Rename the
    local variable '$cur_dir' to the more appropriate and less
    confusing '$reldir_canon', and avoid continuously re-computing
    it in the loop on input lines, since it is fixed per-Makefile.
    When processing an include directive, store the computed new
    relative dir path in a variable named '$new_reldir' rather than
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 087349f8a22c74722f93ea43f0779907e9230903
Author: Stefano Lattarini <address@hidden>
Date:   Sun Feb 3 20:11:00 2013 +0100

    NEWS: improve wording about new {RELDIR} preproc support
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 7cbff50f0dca7edb2429c5f1435a6548a7f31e3a
Author: Stefano Lattarini <address@hidden>
Date:   Sun Feb 3 19:45:08 2013 +0100

    preproc: better (long) name for built-in '{...}' substitutions
    Rename them like this:
      * {CURDIR} => {RELDIR}
    The name "CURDIR" was a little ambiguous and potentially confusing,
    because it could get mixed up with the concept of "current directory"
    for the executing recipes (which will generally not be the same as
    the '{CURDIR}' expansion, of course), as well as with the GNU make
    predefined variable '$(CURDIR)'.  In addition, the '{RELDIR}' name
    seems more faithful to the intended semantics of the substitution.
    * (read_am_file): Adjust.
    * doc/automake.texi (Include): Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * NEWS: Likewise.
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 88f048ed6976db75499b0a8e1311edc02d5cf89b
Author: Stefano Lattarini <address@hidden>
Date:   Sun Feb 3 18:48:28 2013 +0100

    preproc: prefer '{D}' over '&{D}&' (and similarly for other substs)
    The new form is shorter, easier and more natural to type, and less
    likely to get wrong due to typos or distractions.  Such issues with
    the '&{FOO}&' form (originally suggested by myself, oops) have been
    made clear and evident by the recent work on the tests checking the
    new preprocessing features (see previous commit 07f3534f).
    * (read_am_file): Adjust.
    * doc/automake.texi (Include): Likewise.
    * t/ Likewise.
    * t/ Likewise.
    * t/ Likewise, and improve heading comment.
    * t/ Likewise.
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 6a60102cf725ac3204415f52e767f517a1794283
Author: Stefano Lattarini <address@hidden>
Date:   Sun Jan 27 14:20:19 2013 +0100

    preproc: enhance and extend tests
    * t/ New test, a "demo" of how the new pre-processing
    feature could be used in a real-world package.
    * t/ New test, check that error messages remain
    useful when the new pre-processing features are involved.
    * t/ Split up ...
    * t/, t/ ... into these two
    tests, with some refactorings, clean-up and enhancements.
    * t/ Adjust.
    Signed-off-by: Stefano Lattarini <address@hidden>

commit 85c3f473bb51dc48c51fa18665cfcfdc1b128faa
Author: Peter Rosin <address@hidden>
Date:   Sun Jan 27 00:48:28 2013 +0100

    preproc: add support for relative names in included fragments
    The rationale for this change is that it is annoying to have
    to repeat the directory name when including a Makefile fragment.
    For deep directory structures these repeats can generate a lot
    of bloat.  It also hinders reuse and easy directory restructuring
    if all Makefile fragments have to know exactly where they live.
    Suggested by Bob Friesenhahn, and later discussed in bug#13524.
    * (read_am_file): Add third argument specifying the
    relative directory of this Makefile fragment compared to the
    main Makefile.  Replace &{CURDIR}& and &{CANON_CURDIR}& in the
    fragment with this relative directory (with slashes etc, or
    (read_main_am_file): Adjust.
    * t/ New test.
    * t/ Augment.
    * doc/automake.texi (Include): Document the new feature.
    NEWS: Add new feature.
    Signed-off-by: Peter Rosin <address@hidden>
    Signed-off-by: Stefano Lattarini <address@hidden>


GNU Automake

reply via email to

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