1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00

Honor $(program_transform_name) for the `guile-tools' symlink.

Fixes <http://bugs.gnu.org/11451>.
Reported by Cyprien Nicolas <c.nicolas@gmail.com>.

* meta/Makefile.am (install-data-hook): Honor $(program_transform_name).
This commit is contained in:
Ludovic Courtès 2012-05-14 19:21:35 +02:00
parent 8a74ffe88a
commit 3742d778fb

View file

@ -1,7 +1,8 @@
## Process this file with Automake to create Makefile.in ## Process this file with Automake to create Makefile.in
## Jim Blandy <jimb@red-bean.com> --- September 1997 ## Jim Blandy <jimb@red-bean.com> --- September 1997
## ##
## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. ## Copyright (C) 1998, 1999, 2001, 2006, 2007, 2008, 2009, 2011,
## 2012 Free Software Foundation, Inc.
## ##
## This file is part of GUILE. ## This file is part of GUILE.
## ##
@ -28,8 +29,12 @@ EXTRA_DIST= \
# What we now call `guild' used to be known as `guile-tools'. # What we now call `guild' used to be known as `guile-tools'.
install-data-hook: install-data-hook:
cd $(DESTDIR)$(bindir) && rm -f guile-tools$(EXEEXT) && \ guild="`echo $(ECHO_N) guild \
$(LN_S) guild$(EXEEXT) guile-tools$(EXEEXT) | $(SED) -e '$(program_transform_name)'`$(EXEEXT)" ; \
guile_tools="`echo $(ECHO_N) guile-tools \
| $(SED) -e '$(program_transform_name)'`$(EXEEXT)" ; \
cd $(DESTDIR)$(bindir) && rm -f "$$guile_tools" && \
$(LN_S) "$$guild" "$$guile_tools"
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = guile-2.0.pc pkgconfig_DATA = guile-2.0.pc