[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
clean-libs in builddir (was: SCO/bugfix patch 7 of 10: Improve SCO platf
From: |
Ralf Wildenhues |
Subject: |
clean-libs in builddir (was: SCO/bugfix patch 7 of 10: Improve SCO platform support) |
Date: |
Sun, 13 Nov 2005 20:19:24 +0100 |
User-agent: |
Mutt/1.5.9i |
* Kean Johnston wrote on Thu, Nov 10, 2005 at 11:09:31PM CET:
> >I know. You could even `find . -name \*.la | xargs rm' to avoid the
> >`make clean'.
> Hey what a great idea :)
>
> $ cat > ~/bin/quickclean
> #! /bin/sh
> find . -name \*.la | xargs rm -f
> ^D
> $ chmod 755 ~/bin/quickclean
>
> :)
I should add that this is not the Official Way[tm] of doing things.
And because it does not remove the actual libs, it might cause weird
failures on some systems (I think we've actually had a bug report that
involved such a situation.
I believe this instead should be pretty safe and quick (save for white
space in file names):
find . \( -name .libs -o -name _libs \) -prune -o -name \*.la -print |
xargs ./libtool --mode=clean rm -f
Cheers,
Ralf
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, (continued)
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/10
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Kean Johnston, 2005/11/09
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/10
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Tim Rice, 2005/11/10
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/10
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Tim Rice, 2005/11/10
- FYI: HEAD: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/13
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Kean Johnston, 2005/11/10
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/10
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Kean Johnston, 2005/11/10
- clean-libs in builddir (was: SCO/bugfix patch 7 of 10: Improve SCO platform support),
Ralf Wildenhues <=
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Kean Johnston, 2005/11/12
- FYI: branch-1-5: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/13
- Re: FYI: branch-1-5: SCO/bugfix patch 7 of 10: Improve SCO platform support, Ralf Wildenhues, 2005/11/13
- Re: FYI: branch-1-5: SCO/bugfix patch 7 of 10: Improve SCO platform support, Kean Johnston, 2005/11/13
- Re: FYI: branch-1-5: SCO/bugfix patch 7 of 10: Improve SCO platform support, Kean Johnston, 2005/11/13
- Re: SCO/bugfix patch 7 of 10: Improve SCO platform support, Tim Rice, 2005/11/09