relocatable-prog-wrapper: Separate from relocatable-prog.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 10:59:10 +0000 (11:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 10:59:10 +0000 (11:59 +0100)
* 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 <ianb@erislabs.net>.

ChangeLog
modules/relocatable-prog
modules/relocatable-prog-wrapper

index 171f8b651f6b66a8277f7cf50db2f81c3edd1910..516e7d9b4f4f12c8e968de8c252234a70e014b7b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-12-19  Bruno Haible  <bruno@clisp.org>
+
+       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 <ianb@erislabs.net>.
+
 2010-12-19  Bruno Haible  <bruno@clisp.org>
 
        unistr/u8-mbsnlen: Add missing dependency.
index 48a66b8bcc63ebd3cc80270fd9230508a488c473..129947f2b85b11660ebac00772ffc9048cc020d1 100644 (file)
@@ -29,6 +29,20 @@ gl_RELOCATABLE([$gl_source_base])
 
 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"
index e938a69a570da0e287ebbb1ab172e1ca18757930..b96892952e0b5e0057d93cd4e37deed30bf44fd7 100644 (file)
@@ -53,20 +53,6 @@ gl_FUNC_SETENV_SEPARATE
 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: