changeset 9822:64270d3ad469

mkf77def.in: only process *.f files
author John W. Eaton <jwe@octave.org>
date Tue, 17 Nov 2009 08:12:09 -0500
parents 84199c9fc69c
children 9b62f2d8de6d
files libcruft/ChangeLog libcruft/mkf77def.in
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libcruft/ChangeLog	Tue Nov 17 04:08:23 2009 +0100
+++ b/libcruft/ChangeLog	Tue Nov 17 08:12:09 2009 -0500
@@ -1,3 +1,7 @@
+2009-11-17  John W. Eaton  <jwe@octave.org>
+
+	* mkf77def.in: Only process files with names that match *.f.
+
 2009-11-13  John W. Eaton  <jwe@octave.org>
 
 	* Makefile.am: Restore rules for building cruft.def.
--- a/libcruft/mkf77def.in	Tue Nov 17 04:08:23 2009 +0100
+++ b/libcruft/mkf77def.in	Tue Nov 17 08:12:09 2009 -0500
@@ -51,5 +51,9 @@
 echo EXPORTS
 for arg
 do
-  $SED -n -e 'y/ABCDEFGHIJLKMNOPQRSTUVWXYZ/abcdefghijlkmnopqrstuvwxyz/; s/^\(      \|	\)[ 	]*\(.*function\|subroutine\|entry\)[ 	]*\([^ 	(]*\).*$/\3/p' "$srcdir/$arg" | eval $awkcmd
+  case "$arg" in
+    *.f)
+      $SED -n -e 'y/ABCDEFGHIJLKMNOPQRSTUVWXYZ/abcdefghijlkmnopqrstuvwxyz/; s/^\(      \|	\)[ 	]*\(.*function\|subroutine\|entry\)[ 	]*\([^ 	(]*\).*$/\3/p' "$srcdir/$arg" | eval $awkcmd
+    ;;
+  esac
 done