# HG changeset patch # User Ben Pfaff # Date 1290487841 28800 # Node ID b0563a9382514a0ec827f38a18944d5564be8450 # Parent ac911e0db0062e21be6218d908de2ac4468143c3 Uninstall ".bin" files installed by relocwrapper. * modules/relocatable-prog-wrapper (uninstall-relocwrapper): Recursively run "make uninstall" with ".bin" prefixed to EXEEXT, unless it is already there. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-11-22 Ben Pfaff + + Uninstall ".bin" files installed by relocwrapper. + * modules/relocatable-prog-wrapper (uninstall-relocwrapper): + Recursively run "make uninstall" with ".bin" prefixed to EXEEXT, + unless it is already there. + 2010-11-21 Bruno Haible Update for NetBSD 5.0. diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper --- a/modules/relocatable-prog-wrapper +++ b/modules/relocatable-prog-wrapper @@ -53,6 +53,20 @@ gl_FUNC_STRERROR_SEPARATE Makefile.am: +if RELOCATABLE_VIA_WRAPPER +uninstall-hook: uninstall-relocwrapper +uninstall-relocwrapper: + if test $(RELOCATABLE) = yes; then \ + case '$(EXEEXT)' in \ + .bin*) ;; \ + *) cd $(top_builddir) && \ + $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \ + AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \ + uninstall ;; \ + esac; \ + fi +.PHONY: uninstall-relocwrapper +endif Include: