relocatable-prog-wrapper: Separate from relocatable-prog.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 10:59:10 +0000 (11:59 +0100)
committerIan Beckwith <ianb@erislabs.net>
Mon, 20 Dec 2010 05:57:35 +0000 (05:57 +0000)
* 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>.
(cherry picked from commit cc0adb39265accc2753be3e1aa55087d19f71286)

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

index eac11ce..28a3510 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 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.
        * modules/unistr/u8-mbsnlen (Depends-on): Add unistr/u8-mbtouc.
        Reported by Ian Beckwith <ianb@erislabs.net>.
index 48a66b8..129947f 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 e938a69..b968929 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: