automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: clean-%DIR%LTLIBRARIES thinko (Was: Re: [BUG] nasm files are not pr


From: Alexandre Duret-Lutz
Subject: FYI: clean-%DIR%LTLIBRARIES thinko (Was: Re: [BUG] nasm files are not processed in automake generated Makefiles)
Date: 21 Aug 2002 13:33:39 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

This hasn't much to do with Edouard's concern.  It just addresses
a minor issue observed in his output.

>>> "Edouard" == Edouard Gomez <address@hidden> writes:

[...]

 Edouard> address@hidden:src] # make clean all
 Edouard> test -z "libxvid.la" || rm -f libxvid.la
 Edouard> rm -f "libxvid.la/so_locations"
                 ^^^^^^^^^^^^^^^^^^^^^^^
 Edouard> rm -rf .libs _libs
 Edouard> rm -f *.o core *.core
 Edouard> rm -f *.lo

[...]

I'm checking this in.

2002-08-21  Alexandre Duret-Lutz  <address@hidden>

        * lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Fix cleanup of
        so_location files in current directory.

Index: lib/am/ltlib.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/ltlib.am,v
retrieving revision 1.24
diff -u -r1.24 ltlib.am
--- lib/am/ltlib.am     8 Jul 2002 19:41:23 -0000       1.24
+++ lib/am/ltlib.am     21 Aug 2002 11:29:18 -0000
@@ -82,7 +82,7 @@
 ## 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

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]