]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
authorAlexandre Duret-Lutz <adl@gnu.org>
Wed, 21 Aug 2002 11:33:58 +0000 (11:33 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Wed, 21 Aug 2002 11:33:58 +0000 (11:33 +0000)
so_location files in current directory.

ChangeLog
lib/am/ltlib.am

index a5df5015c3f91d4f447f66f391b52ca4e7da7908..b041c4367ca441d01ab6793a426f826713661275 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2002-08-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
+       * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
+       so_location files in current directory.
+
        Fix for PR automake/346:
        * automake.texi (Optional): Supress the documentation for
        AC_PATH_XTRA, AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE, AC_FUNC_FNMATCH,
index 03c8e10d652874fbbb2c90148b5e26df060afe3a..102ce7df7c6b562bbca9a0676b7f6a09a4754d02 100644 (file)
@@ -82,7 +82,7 @@ clean-%DIR%LTLIBRARIES:
 ## directory where the shared object is created.
        @list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
          dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
-         test -z "$dir" && dir=.; \
+         test "$dir" = "$$p" && dir=.; \
          echo "rm -f \"$${dir}/so_locations\""; \
          rm -f "$${dir}/so_locations"; \
        done