]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
texi: overriding of 'dist-info' target is broken
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 9 Jan 2013 12:42:18 +0000 (13:42 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 9 Jan 2013 12:58:22 +0000 (13:58 +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 <stefano.lattarini@gmail.com>
Makefile.am
NG-NEWS

index f1ac40aefb11c7c617cfdd6eb3f405192127d64f..0bfe50745fbbc3da5483bac1b4e87db35f9e7f08 100644 (file)
@@ -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 ab584d3ba6b10f73979e6d30ba35eb264976a2af..624093ecc6134140f86eefa57aa814194bc9a6cd 100644 (file)
--- 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)