Do not install versioned binaries
authorThomas Weber <tweber@debian.org>
Wed, 9 Dec 2020 09:07:00 +0000 (09:07 +0000)
committerSébastien Villemot <sebastien@debian.org>
Wed, 9 Dec 2020 09:07:00 +0000 (09:07 +0000)
Forwarded: not-needed
Reviewed-by: Rafael Laboissière <rafael@debian.org>
Last-Update: 2016-11-20

We don't need them.

Gbp-Pq: Name drop_versioned_binaries.patch

scripts/miscellaneous/mkoctfile.m
scripts/pkg/private/configure_make.m
src/main.in.cc
src/module.mk

index 0a3a5b76992e1513f67f759f7884c484c3ff39d5..f7cac7a8219050e3b6a0e281b221ac0afeff7b0c 100644 (file)
@@ -212,7 +212,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");
index 194ce53dee52000eb31b8afef091890d1710ffe4..c5a4f4ac58793f96baff503f07b58c2d55ab5a49 100644 (file)
@@ -37,13 +37,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"))
index fdc0bfdb187887dcef5706744b29b402d1b7edf5..c1469f138f4e4494734b9b10968628309f11a325 100644 (file)
@@ -216,7 +216,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)
index 8d226d3c0fc842fcbd7cfb55568240c18a232a1e..deae797266401a9e25b4c3d2d66760917a378e57 100644 (file)
@@ -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