From 08bd4372cbd78a741022c31da9a0b7a8085683cb Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Thu, 28 Apr 2022 09:26:16 -0400 Subject: [PATCH] autoload octave mex file when addpath, thanks to cdf and mmuetzel, https://octave.discourse.group/t/supporting-mexext/2578 --- PKG_ADD | 1 + octave/{win64 => i686-w64-mingw32}/zipmat.mex | Bin .../{osx64 => x86_64-apple-darwin18.7.0}/zipmat.mex | Bin octave/{linux64 => x86_64-pc-linux-gnu}/zipmat.mex | Bin 4 files changed, 1 insertion(+) create mode 100644 PKG_ADD rename octave/{win64 => i686-w64-mingw32}/zipmat.mex (100%) rename octave/{osx64 => x86_64-apple-darwin18.7.0}/zipmat.mex (100%) rename octave/{linux64 => x86_64-pc-linux-gnu}/zipmat.mex (100%) diff --git a/PKG_ADD b/PKG_ADD new file mode 100644 index 0000000..98bb052 --- /dev/null +++ b/PKG_ADD @@ -0,0 +1 @@ +autoload('zipmat',file_in_loadpath(['octave' filesep computer filesep 'zipmat.mex'])) diff --git a/octave/win64/zipmat.mex b/octave/i686-w64-mingw32/zipmat.mex similarity index 100% rename from octave/win64/zipmat.mex rename to octave/i686-w64-mingw32/zipmat.mex diff --git a/octave/osx64/zipmat.mex b/octave/x86_64-apple-darwin18.7.0/zipmat.mex similarity index 100% rename from octave/osx64/zipmat.mex rename to octave/x86_64-apple-darwin18.7.0/zipmat.mex diff --git a/octave/linux64/zipmat.mex b/octave/x86_64-pc-linux-gnu/zipmat.mex similarity index 100% rename from octave/linux64/zipmat.mex rename to octave/x86_64-pc-linux-gnu/zipmat.mex