* gnulib-tool (func_emit_lib_Makefile_am): It's not just Automake versions < 1.9b that creates an empty pkgdatadir at installation time if pkgdata_DATA is specified to empty; modern automake versions do this as well, and that's considered a feature, not a bug. Adjust a comment accordingly. (func_emit_tests_Makefile_am): Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- ChangeLog | 10 ++++++++++ gnulib-tool | 8 ++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a114aa..817e1d9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2012-03-13 Stefano Lattarini <stefano.lattar...@gmail.com> + + gnulib-tool: fix imprecise comments + * gnulib-tool (func_emit_lib_Makefile_am): It's not just Automake + versions < 1.9b that creates an empty pkgdatadir at installation + time if pkgdata_DATA is specified to empty; modern automake versions + do this as well, and that's considered a feature, not a bug. Adjust + a comment accordingly. + (func_emit_tests_Makefile_am): Likewise. + 2012-03-12 Simon Josefsson <si...@josefsson.org> Collapse list of copyright years to ranges. See diff --git a/gnulib-tool b/gnulib-tool index eef9ab6..f99403d 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -3348,8 +3348,8 @@ func_emit_lib_Makefile_am () echo "noinst_HEADERS =" echo "noinst_LIBRARIES =" echo "noinst_LTLIBRARIES =" - # Automake versions < 1.9b create an empty pkgdatadir at installation time - # if you specify pkgdata_DATA to empty. This is a workaround. + # By design, Automake creates an empty pkgdatadir at installation time + # if you specify pkgdata_DATA to empty. So we need this workaround. if grep '^pkgdata_DATA *+=' "$tmp"/allsnippets > /dev/null; then echo "pkgdata_DATA =" fi @@ -3669,8 +3669,8 @@ func_emit_tests_Makefile_am () echo "check_LIBRARIES = libtests.a" fi fi - # Automake versions < 1.9b create an empty pkgdatadir at installation time - # if you specify pkgdata_DATA to empty. This is a workaround. + # By design, Automake creates an empty pkgdatadir at installation time + # if you specify pkgdata_DATA to empty. So we need this workaround. if grep '^pkgdata_DATA *+=' "$tmp"/main_snippets "$tmp"/longrunning_snippets > /dev/null; then echo "pkgdata_DATA =" fi -- 1.7.9