1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

build: Actually install libguile-3.0-gdb.scm.

Reported by brandelune on #guile.

* libguile/libguile-2.2-gdb.scm: Rename to...
* libguile/libguile-3.0-gdb.scm: ... this.
* libguile/Makefile.am (install-data-hook): Replace hard-coded "2.2"
with @GUILE_EFFECTIVE_VERSION@.
This commit is contained in:
Ludovic Courtès 2020-01-21 17:51:37 +01:00
parent f329837fd1
commit 491cc23f93
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
## Process this file with Automake to create Makefile.in ## Process this file with Automake to create Makefile.in
## ##
## Copyright (C) 1998-2004, 2006-2014, 2016-2019 ## Copyright (C) 1998-2004, 2006-2014, 2016-2020
## Free Software Foundation, Inc. ## Free Software Foundation, Inc.
## ##
## This file is part of GUILE. ## This file is part of GUILE.
@ -491,9 +491,9 @@ INSTANTIATE = \
-e 's,[@]pkglibdir[@],$(pkglibdir),g' \ -e 's,[@]pkglibdir[@],$(pkglibdir),g' \
-e 's,[@]GUILE_EFFECTIVE_VERSION[@],$(GUILE_EFFECTIVE_VERSION),g' -e 's,[@]GUILE_EFFECTIVE_VERSION[@],$(GUILE_EFFECTIVE_VERSION),g'
install-data-hook: libguile-2.2-gdb.scm install-data-hook: libguile-@GUILE_EFFECTIVE_VERSION@-gdb.scm
@$(MKDIR_P) $(DESTDIR)$(libdir) @$(MKDIR_P) $(DESTDIR)$(libdir)
## We want to install libguile-2.2-gdb.scm as SOMETHING-gdb.scm. ## We want to install libguile-X.Y-gdb.scm as SOMETHING-gdb.scm.
## SOMETHING is the full name of the final library. We want to ignore ## SOMETHING is the full name of the final library. We want to ignore
## symlinks, the .la file, and any previous -gdb.py file. This is ## symlinks, the .la file, and any previous -gdb.py file. This is
## inherently fragile, but there does not seem to be a better option, ## inherently fragile, but there does not seem to be a better option,
@ -731,7 +731,7 @@ EXTRA_DIST = ChangeLog-scm ChangeLog-threads \
cpp-E.syms cpp-E.c cpp-SIG.syms cpp-SIG.c \ cpp-E.syms cpp-E.c cpp-SIG.syms cpp-SIG.c \
c-tokenize.lex \ c-tokenize.lex \
scmconfig.h.top libgettext.h unidata_to_charset.pl libguile.map \ scmconfig.h.top libgettext.h unidata_to_charset.pl libguile.map \
vm-operations.h libguile-2.2-gdb.scm \ vm-operations.h libguile-@GUILE_EFFECTIVE_VERSION@-gdb.scm \
$(lightening_c_files) $(lightening_extra_files) $(lightening_c_files) $(lightening_extra_files)
# $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) \ # $(DOT_DOC_FILES) $(EXTRA_DOT_DOC_FILES) \
# guile-procedures.txt guile.texi # guile-procedures.txt guile.texi