changeset 6357:d93787dbedec

[project @ 2007-02-26 20:24:42 by dbateman]
author dbateman
date Mon, 26 Feb 2007 20:24:51 +0000
parents 8bb0d11c7a97
children 61091f4af6e4
files scripts/ChangeLog scripts/pkg/pkg.m
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Feb 26 14:48:22 2007 +0000
+++ b/scripts/ChangeLog	Mon Feb 26 20:24:51 2007 +0000
@@ -2,6 +2,7 @@
 
 	* pkg/pkg.m (configure_make): Ignore blank lines and trailing
 	'\n' in FILES file.
+	(configure_make): Also install any mex files.
 
 2007-02-24  David Bateman  <dbateman@free.fr>
 
--- a/scripts/pkg/pkg.m	Mon Feb 26 14:48:22 2007 +0000
+++ b/scripts/pkg/pkg.m	Mon Feb 26 20:24:51 2007 +0000
@@ -684,6 +684,7 @@
         else
             m = dir(fullfile(src, "*.m"));
             oct = dir(fullfile(src, "*.oct"));
+            mex = dir(fullfile(src, "*.mex"));
             filenames = "";
             if (length(m) > 0)
                 filenames = sprintf(fullfile(src, "%s "), m.name);
@@ -691,6 +692,9 @@
             if (length(oct) > 0)
                 filenames = [filenames " " sprintf(fullfile(src, "%s "), oct.name)];
             endif
+            if (length(mex) > 0)
+                filenames = [filenames " " sprintf(fullfile(src, "%s "), mex.name)];
+            endif
         endif
         filenames = split_by(filenames, " ");