From: Thomas Weber Date: Fri, 12 Jun 2020 08:15:25 +0000 (+0100) Subject: Do not install versioned binaries X-Git-Tag: archive/raspbian/5.2.0-3+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2fe013ae23935d911a04fe8b56ccffc8bd016820;p=octave.git Do not install versioned binaries Forwarded: not-needed Reviewed-by: Rafael Laboissière Last-Update: 2016-11-20 We don't need them. Gbp-Pq: Name drop_versioned_binaries.patch --- diff --git a/scripts/miscellaneous/mkoctfile.m b/scripts/miscellaneous/mkoctfile.m index 3847a104..5835cf82 100644 --- a/scripts/miscellaneous/mkoctfile.m +++ b/scripts/miscellaneous/mkoctfile.m @@ -202,7 +202,7 @@ function [output, status] = mkoctfile (varargin) ext = __octave_config_info__ ("EXEEXT"); shell_script = fullfile (bindir, - sprintf ("mkoctfile-%s%s", OCTAVE_VERSION, ext)); + "mkoctfile"); if (! exist (shell_script, "file")) __gripe_missing_component__ ("mkoctfile", "mkoctfile"); diff --git a/scripts/pkg/private/configure_make.m b/scripts/pkg/private/configure_make.m index 0cfd22e1..5a905b01 100644 --- a/scripts/pkg/private/configure_make.m +++ b/scripts/pkg/private/configure_make.m @@ -31,13 +31,13 @@ function configure_make (desc, packdir, verbose) ver = version (); ext = __octave_config_info__ ("EXEEXT"); mkoctfile_program = fullfile (octave_bindir, ... - sprintf ("mkoctfile-%s%s", ver, ext)); + "mkoctfile"); octave_config_program = fullfile (octave_bindir, ... - sprintf ("octave-config-%s%s", ver, ext)); + "octave-config"); if (ispc () && ! isunix ()) octave_binary = fullfile (octave_bindir, sprintf ("octave-%s.bat", ver)); else - octave_binary = fullfile (octave_bindir, sprintf ("octave-%s%s", ver, ext)); + octave_binary = fullfile (octave_bindir, "octave"); endif if (! exist (mkoctfile_program, "file")) diff --git a/src/main.in.cc b/src/main.in.cc index 292e9901..8f9bbbf9 100644 --- a/src/main.in.cc +++ b/src/main.in.cc @@ -211,7 +211,7 @@ main (int argc, char **argv) std::string octave_bindir = get_octave_bindir (); std::string octave_archlibdir = get_octave_archlibdir (); std::string octave_cli - = octave_bindir + dir_sep_char + "octave-cli-" OCTAVE_VERSION; + = octave_bindir + dir_sep_char + "octave-cli"; std::string octave_gui = octave_archlibdir + dir_sep_char + "octave-gui"; #if defined (HAVE_OCTAVE_QT_GUI) diff --git a/src/module.mk b/src/module.mk index 8d226d3c..deae7972 100644 --- a/src/module.mk +++ b/src/module.mk @@ -203,7 +203,7 @@ endif ALL_LOCAL_TARGETS += $(OCTAVE_CROSS_TOOLS) -install-exec-hook: make-version-links +install-exec-hook: uninstall-local: remove-version-links