snowcrash+libtool wrote:

> i'm guessing the nomially required rm-ing is somewhere inbetween the
> two actions; likely at least (just?) the aforementioned
> 'ltoptions.m4'?

If you keep your build dirs around you can do a much better job of
surgically removing a package:

make install DESTDIR=/tmp/deleteme && \
  find /tmp/deleteme \( -type f -o -type l \) -printf '/%P\0' | \
  xargs -0 rm; rm -rf /tmp/deleteme

This simply installs the package again in an empty throwaway dir and
uses the resulting filelist to delete from the live system.  Of course,
you may want to fortify this in various ways: pick a more appropriately
named temp dir, make sure it's empty at first, sanity check the list of
files to delete, ensure the package supports DESTDIR (vs. prefix
overriding) etc.  But you get the general idea of the method.  Some
packages generalize this with a "make uninstall" rule.

Brian


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to