]> git.ipfire.org Git - thirdparty/libtool.git/commit
Fix errors in distclean and maintainer-clean
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 9 Oct 2024 17:02:28 +0000 (20:02 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 22 Oct 2024 16:55:50 +0000 (19:55 +0300)
commitd405ede8705b704555e5d6ed1f1bc256c24afb7f
treeed07b2420fb80944b52b9cb11d89b91051496893
parent82f7f52123e4e7e50721049f7fa6f9b870e09c9d
Fix errors in distclean and maintainer-clean

The variable, LT_ARGZ_H, can be empty, which causes distclean and
maintainer-clean to error as a directory is attempted to be removed
instead of a file.

When running maintainer-clean for gnulib-tests, the .version file is
missing, which is needed by config.status, so the command will error.

* configure.ac: Update CONFIG_STATUS_DEPENDENCIES to use dotversion so
  that the .version file can be generated if needed.
* libltdl/ltdl.mk: Add conditional with LTARGZH_EXISTS to append path for
  LT_ARGZ_H file to BUILT_SOURCES.
* m4/ltdl.m4: Add AM_CONDITIONAL for LTARGZH_EXISTS that is set to
  true if LT_ARGZ_H is non-empty.
* NO-THANKS: Add 'Michael Pratt' for bug#73672 contribution.
* NEWS: List additional bug fix.
NEWS
NO-THANKS
configure.ac
libltdl/ltdl.mk
m4/ltdl.m4