drop_versioned_binaries
authorDebian Octave Group <team+pkg-octave-team@tracker.debian.org>
Thu, 25 Jul 2019 02:20:25 +0000 (03:20 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 25 Jul 2019 02:20:25 +0000 (03:20 +0100)
Gbp-Pq: Name drop_versioned_binaries.diff

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

index 13c4ac8ff6d504344cad4bcf93730bc7c1b9cf94..7e83c77b8e1e55b18f6c1530cc9691b010e2541e 100644 (file)
@@ -148,7 +148,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 21473d5d210ab7c2ae9733538ae1323e7dbcca23..c923b8714ddd74d6b58ee3d3ee176f482a36fb01 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 f4ba4772e9960bb469d5e8fe6f87a7e6091e6cd9..12944a268adaa692b0ffbdc723ca5eea225b8526 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 b14d51f4c8d772ca3d09d1707e07b635f17661d7..ae2816c0c1e251e8bf41f2d0f0c8615f5a7fcbeb 100644 (file)
@@ -210,7 +210,7 @@ endif
 
 ALL_LOCAL_TARGETS += $(OCTAVE_CROSS_TOOLS)
 
-install-exec-hook: make-version-links
+install-exec-hook:
 
 uninstall-local: remove-version-links