[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, ng/experimental/dist-work,
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, ng/experimental/dist-work, created. v1.12.2-897-gaca1b16 |
Date: |
Sun, 12 Aug 2012 20:48:35 +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=aca1b16d02ef149fb254e20b8c03483c1b6ad6da
The branch, ng/experimental/dist-work has been created
at aca1b16d02ef149fb254e20b8c03483c1b6ad6da (commit)
- Log -----------------------------------------------------------------
commit aca1b16d02ef149fb254e20b8c03483c1b6ad6da
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 20:58:17 2012 +0200
[ng] dist: new API to specify formats of distribution tarballs
The API to specify the formats of distribution tarballs has been changed
completely.
Instead of using the various 'dist-*' automake options, the developer is
now expected to specify the default formats of its distribution tarballs
with the special variable AM_DIST_FORMATS; for example, where once would
have been:
AM_INIT_AUTOMAKE([dist-bzip2 dist-zip])
now it must be:
AM_DIST_FORMATS = gzip bzip2 zip
and similarly, where once would have been:
AUTOMAKE_OPTIONS = no-dist-gzip dist-bzip2 dist-xz
now is it simply:
AM_DIST_FORMATS = bzip2 xz
Similarly, The various 'dist-*' targets (dist-gzip, dist-xz, dist-lzip,
dist-bzip2 and dist-gz) has been removed. If the user wants to generate
tarballs for formats not specified by the default AM_DIST_FORMATS, he can
simply override that variable dynamically:
# Will generate a '.zip' archive and a '.tar.xz' archive, and not
# further ones.
make dist AM_DIST_FORMATS='zip xz'
This change is of course is totally backward incompatible, but the
enhanced flexibility and simplicity is worth it. Not to mention that
the transition from the mainline Automake API to the new Automake-NG
one is trivial.
* NG-NEWS: Update.
* ng/automake-ng.texi: Likewise.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 3dd5e82c091caea3d51ab05b3ac6d97b042ed22f
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 20:42:02 2012 +0200
[ng] diag: new make function $(am.fatal)
Mostly a preparatory patch for future changes.
* lib/am/header-vars.mk (am.fatal): New.
* automake.in (generate_makefile): Use in instead of $(error) in the
generated make code exiting for earlier errors.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 7e7a114682c1fd651719825d6d37e9141f9ac5df
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 18:14:12 2012 +0200
[ng] dist: fixup: add 'dist' and 'dist-all' to AM_RECURSIVE_TARGETS
* lib/am/distcheck.mk: Here. That wasn't happing due to a botched
"ifdef", broken by some recent change (probably during the transition
from 'distcheck.am' to 'distcheck.mk').
Signed-off-by: Stefano Lattarini <address@hidden>
commit 5c9327b71b79b700cd0859ce3cb88bfdbb526b07
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 18:12:01 2012 +0200
[ng] distcheck: remove stale tarballs with 'rm -f', not 'rm -rf'
* lib/am/distcheck.mk (distcheck): Here. They are regular files
anyway.
Signed-off-by: Stefano Lattarini <address@hidden>
commit eda13f15f88e7910d7630dc41f0a30c37d0b893f
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 18:08:25 2012 +0200
[ng] dist: vars DIST_TARGETS and DIST_ARCHIVES are no more public
Turn them into two internal variables. This will clean up the
interface a bit, and make the new planned dist-related APIs (still
to be implemented) simpler to use.
* lib/am/distcheck.mk (DIST_TARGETS, DIST_ARCHIVES): Rename ...
(am.dist.default-targets, am.dist.default-archives): ... like
these, respectively.
(distcheck, dist, dist-all): Adjust.
* t/dist-formats.tap (nogzip): Likewise.
* NG-NEWS: Update.
Signed-off-by: Stefano Lattarini <address@hidden>
commit e14a631918110897b9cac13916f6975c69f39da9
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 16:54:52 2012 +0200
[ng] dist: refactor: reduce duplication in the 'dist-*' recipes
* lib/am/distcheck.mk: Here, with heavy refactorings, in particular
introducing ...
(am.dist.all-formats,
am.dist.all-targets,
am.dist.compress-cmd.gzip,
am.dist.uncompress-cmd.gzip,
am.dist.compress-cmd.bzip2,
am.dist.uncompress-cmd.bzip2,
am.dist.compress-cmd.lzip,
am.dist.uncompress-cmd.lzip
am.dist.compress-cmd.xz,
am.dist.uncompress-cmd.xz,
am.dist.create-cmd.zip,
am.dist.extract-cmd.zip): ... these new internal variables ...
(am.dist.create-archive-for-format.aux,
am.dist.create-archive-for-format,
am.dist.extract-archive-for-format.aux,
am.dist.extract-archive-for-format): ... and these new internal
make functions ...
(am.dist-gzip, am.dist-bzip2, am.dist-lzip, am.dist-xz,
am.dist.zip): ... and rewriting these rules as static-pattern
rules sharing the same recipe ...
(distcheck): ... and updating the recipe for this target.
* t/dist-formats.tap: Little adjustments for better usefulness
of verbose output when debugging.
Signed-off-by: Stefano Lattarini <address@hidden>
commit fa252add85c72412bb281446a4e3d078f7553966
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 15:14:06 2012 +0200
[ng] typofix: in comments in 'lib/am/distdir.mk'
Signed-off-by: Stefano Lattarini <address@hidden>
commit 68485e91bd5585f851ce833bad8a98a784036045
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 15:12:54 2012 +0200
[ng] cosmetics: add an explicative comment
* lib/am/distdir.mk (am.dist.common-files): Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 95d2b38ec3fd0bac9c773f49847fbe4ca0b91546
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 15:02:33 2012 +0200
[ng] tests: remove dead code from a test, fix a typo
* t/dist-formats.tap: Fix typo in a message: s/.tar.Z/.tar.xz/.
(have_compressor): Remove special handling of the 'compress' tool.
This is now useless, since we've removed support for '.tar.Z' tarballs
and thus care no more whether a 'compress' program is available or not.
Also, in the main code, one stray remaining reference to the 'shar'
program, that too useless now that we've removed support for '.shar.gz'
archives.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 0980ac4ce95e65867403ae705d777e1c728db1eb
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 14:52:32 2012 +0200
[ng] cleanup: remove unused transform '%INSTALL-INFO%'
* automake.in (preprocess_file): Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit b80d8d27d48007f8ebca8af72166a80d67ff6b88
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 14:09:34 2012 +0200
[ng] texi: verbatim include of rules for texinfo installation
It tells whether the '.info' files must be installed by default (usually
yes, unless the "no-installinfo" automake option is used). This is just
a preparatory change, in view of future ones.
* lib/am/texinfos.am: Move ...
* lib/am/texinfos.mk: ... here, with related adjustments. Also ...
(info_TEXINFOS): ... initialize this to empty by default.
* lib/am/automake.in (handle_texinfo): Adjust and simplify accordingly.
* Makefile.am (dist_am_DATA): Adjust.
* t/txinfo10.sh: Remove, basically an obsolete grepping check. We can
instead ...
* t/txinfo21.sh: ... enhance this semantic test to subsume and supersede
the removed one.
* t/override-conditional-1.sh: Adjust to avoid spurious failures.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 0b4d3325ca69a6081537f744bf09f6beaef325dd
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 13:56:01 2012 +0200
[ng] refactor: new internal make variable 'am.conf.no-installinfo'
It tells whether the '.info' files must be installed by default (usually
yes, unless the "no-installinfo" automake option is used). This is just
a preparatory change, in view of future ones.
* lib/am/automake.in (generate_makefile): Define it here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit f8f26eeabd36fa7993c65497077aa745572b1dd3
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 13:54:29 2012 +0200
[ng] rename: am__can_run_installinfo -> am.texi.can-run-installinfo
* lib/am/texinfos.am: Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 2abbd59c3601fbaaad4c640a90bbd2e3413a385c
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 13:23:06 2012 +0200
[ng] rename: am__create_installdir -> am.texi.create-installdir
* lib/am/texinfos.am: Here. And fix a related comment while at it.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 673afd53c32fe365d2d3d9f33d12e1c1f824503a
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 12:14:07 2012 +0200
[ng] rename: am__info_insrc -> am.texi.info-in-srcdir
Signed-off-by: Stefano Lattarini <address@hidden>
commit bc9b8ccafdf9873b5d075ba4118e3ad3f00e7394
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 12:12:22 2012 +0200
[ng] texi: prefer $(CURDIR) over `pwd` in recipes
* lib/am/texibuild.mk: Here. We can do so because the involved
recipes did not chdir before invoking `pwd`.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 81124853eb362772505a829bd959dc904a3ef1d4
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:47:58 2012 +0200
[ng] texi: be more aware of possible failures in recipes
* lib/am/texibuild.mk: Here, mostly by using "cmd1 && cmd2" or
"cmd1 || exit $?; cmd2" rather than "cmd1; cmd2" in some places.
Signed-off-by: Stefano Lattarini <address@hidden>
commit bf030d98eee40566a2bb54808f59c01c8f882834
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:36:34 2012 +0200
[ng] cosmetics: add a short explicative comment
* lib/am/texibuild.mk (am.texi.build.html): Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit e6caf5ebdf120426fac27ef8f9691c5d187f8e9e
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:35:57 2012 +0200
[ng] texi: remove workaround for Texinfo 4.1
* lib/am/texibuild.mk (am.texi.build.html): Here. We require
Texinfo >= 4.9 anyway.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 04c52b271b56cd21b7342f33c3d48f04909549fd
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:07:00 2012 +0200
[ng] texi: respect user-requested verbosity better
* lib/am/texibuild.mk (am.texi.build.info): Here, by not hiding the
creation of the directory containing the target info when "make V=1"
is used (or "./configure --disable-silent-rules").
Signed-off-by: Stefano Lattarini <address@hidden>
commit 4b486997bd6fc1cb199b7af8ecce589977a95a71
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:04:31 2012 +0200
[ng] cosmetics: remove a stray empty line
* lib/am/texibuild.mk (am.texi.build.dvi-or-pdf): Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 874ef95e032ddfd2050e39fc0a29cb5ba1dc10fd
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:03:57 2012 +0200
[ng] rename: am__texibuild_info -> am.texi.build.info
* lib/am/texibuild.mk: Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 9be004f2ab5ee92e67f04bb621dec9125f0f5080
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:02:21 2012 +0200
[ng] rename: am__texibuild_html -> am.texi.build.html
* lib/am/texibuild.mk: Here.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 8a810e765d24e43af010d9ce0b6728b103bf427b
Author: Stefano Lattarini <address@hidden>
Date: Sun Aug 12 11:00:45 2012 +0200
[ng] rename: am__texibuild_dvi_or_pdf -> am.texi.build.dvi-or-pdf
* lib/am/texibuild.mk: Here.
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, ng/experimental/dist-work, created. v1.12.2-897-gaca1b16,
Stefano Lattarini <=