changeset 11594:f2e868fd8500

Mark scripts as coming from 'scripts/' directory in Texinfo '@c func location' comments.
author Rik <octave@nomad.inbox5.com>
date Thu, 20 Jan 2011 20:31:42 -0800
parents 1577c6f80926
children 5ec6aa05638d
files scripts/ChangeLog scripts/mkdoc
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Jan 20 20:19:29 2011 -0800
+++ b/scripts/ChangeLog	Thu Jan 20 20:31:42 2011 -0800
@@ -1,3 +1,8 @@
+2011-01-20  Rik  <octave@nomad.inbox5.com>
+
+	* mkdoc: Mark all scripts as coming from 'scripts/' directory
+	in Texinfo '@c func location' comments.
+
 2011-01-20  Rik  <octave@nomad.inbox5.com>
 
 	* scripts/linear-algebra/condest.m, 
--- a/scripts/mkdoc	Thu Jan 20 20:19:29 2011 -0800
+++ b/scripts/mkdoc	Thu Jan 20 20:31:42 2011 -0800
@@ -57,7 +57,7 @@
 	  s/^\s+\@/\@/ unless $in_example;
 	  s/^\s+\@group/\@group/;
 	  s/^\s+\@end\s+group/\@end group/;
-	  s|\@c $re_srcdir|\@c scripts/|o;
+	  s|\@c $fcn $re_srcdir|\@c $fcn scripts/|o;
 	  $in_example = (/\s*\@example\b/ .. /\s*\@end\s+example\b/);
 	  print;
 	}' "$prefix" "$arg"