# HG changeset patch # User Bruno Haible # Date 1292756350 -3600 # Node ID 40a6cefcc5c91778a265e8e92ef15b57cd8f37a0 # Parent bb671fbb31caa54a50450ac1c41698d9e9ad436f relocatable-prog-wrapper: Separate from relocatable-prog. * modules/relocatable-prog (Makefile.am): Define uninstall-hook and uninstall-relocwrapper rule here. * modules/relocatable-prog-wrapper (Makefile.am): ... not here. Reported by Ian Beckwith . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-12-19 Bruno Haible + + relocatable-prog-wrapper: Separate from relocatable-prog. + * modules/relocatable-prog (Makefile.am): Define uninstall-hook and + uninstall-relocwrapper rule here. + * modules/relocatable-prog-wrapper (Makefile.am): ... not here. + Reported by Ian Beckwith . + 2010-12-19 Bruno Haible unistr/u8-mbsnlen: Add missing dependency. diff --git a/modules/relocatable-prog b/modules/relocatable-prog --- a/modules/relocatable-prog +++ b/modules/relocatable-prog @@ -29,6 +29,20 @@ Makefile.am: DEFS += -DEXEEXT=\"@EXEEXT@\" +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: "relocatable.h" diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper --- a/modules/relocatable-prog-wrapper +++ b/modules/relocatable-prog-wrapper @@ -53,20 +53,6 @@ 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: