From: Alexandre Duret-Lutz Date: Wed, 21 Aug 2002 11:33:58 +0000 (+0000) Subject: * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of X-Git-Tag: Release-1-6d~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d4e140101b4a7d4d207f3621b775cdd627b147;p=thirdparty%2Fautomake.git * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of so_location files in current directory. --- diff --git a/ChangeLog b/ChangeLog index a5df5015c..b041c4367 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-08-21 Alexandre Duret-Lutz + * 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, diff --git a/lib/am/ltlib.am b/lib/am/ltlib.am index 03c8e10d6..102ce7df7 100644 --- a/lib/am/ltlib.am +++ b/lib/am/ltlib.am @@ -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