1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

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>.
This commit is contained in:
Bruno Haible
2010-12-19 11:59:10 +01:00
parent 7b4e9927b3
commit cc0adb3926
3 changed files with 22 additions and 14 deletions

View File

@@ -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.

View 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"

View 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: