automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [FYI] texi: overriding of 'dist-info' target is broken


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] texi: overriding of 'dist-info' target is broken
Date: Wed, 9 Jan 2013 13:58:42 +0100

Due to the differences in the codebase of Automake-NG and mainline
Automake, that (undocumented) capability has been lost.  Not a big
deal, since in the long term, we should give a proper API to obtain
that effect, instead of forcing the user to employ and undocumented
hack.  So, until we have decided on that API, just mark the test
checking for the lost capability as "XFAIL."

* Makefile.am (XFAIL_TESTS): Add 't/txinfo-nodist-info.sh'.
* NG-NEWS: Document the regression.  Related adjustments and
updated.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 Makefile.am |  1 +
 NG-NEWS     | 26 ++++++++++++++++++++++----
 2 files changed, 23 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f1ac40a..0bfe507 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -353,6 +353,7 @@ XFAIL_TESTS = \
   t/cond17.sh \
   t/dist-srcdir2.sh \
   t/gcj6.sh \
+  t/txinfo-nodist-info.sh \
   t/override-conditional-2.sh \
   t/dist-pr109765.sh \
   t/instdir-cond2.sh \
diff --git a/NG-NEWS b/NG-NEWS
index ab584d3..624093e 100644
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -261,14 +261,32 @@ Distribution
   previous change).
 
 
-Obsolete Features Removed
-=========================
+Texinfo
+=======
 
-* Extension-less info files are no longer supported.
+* Extension-less info files are no longer supported (mainline Automake
+  has been warning against them since version 1.13.2, albeit it continues
+  to support them for backward-compatibility).
 
 * The only accepted suffix for input Texinfo files is now '.texi'; the
   once-accepted values '.txi' and '.texinfo' are no longer handled, and
-  their use will trigger an error.
+  their use will trigger an error (mainline Automake has been warning
+  against these suffixes since version 1.13.2, albeit it continues to
+  support them for backward-compatibility).
+
+* Disabling distribution of generated '.info' files be re-defining the
+  'dist-info' target, as in:
+
+      dist-info:
+          @:
+
+  (which has always been an undocumented hack in Automake) no longer
+  works.  We are still considering whether to make an equivalent
+  capability available with a new, cleaner and documented API.
+
+
+Obsolete Features Removed
+=========================
 
 * If the sources for a target library like 'libfoo.a' or 'libbar.la' are
   not explicitly specified, mainline Automake looks also (respectively)
-- 
1.8.1.rc3.192.g2d0029e




reply via email to

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