Do not install versioned binaries
authorThomas Weber <tweber@debian.org>
Tue, 4 Feb 2020 12:05:00 +0000 (12:05 +0000)
committerSébastien Villemot <sebastien@debian.org>
Tue, 4 Feb 2020 12:05:00 +0000 (12:05 +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 3847a104a6b1a72fcd2358695ff6506032b67b69..5835cf82c17a373e2584af1eb6fe00395d5e4e32 100644 (file)
@@ -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");
index 0cfd22e1e7670216e538914dea281e2a15c133c2..5a905b019499aa64ab81039dfe6b738f83643f42 100644 (file)
@@ -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"))
index 292e99011a9db134334f5fea8e75dae5a90e699c..8f9bbbf9cc9bfb1f583a1b5c8ee09c4c0e02af52 100644 (file)
@@ -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)
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