so_location files in current directory.
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,
## 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