changeset 22334:fed9aa2ed01d

doc: Insert correct location of m-file into @c comment in .texi files. * mkdoc.pl: Don't prepend a second 'scripts/' directory before m-file name which already includes it.
author Rik <rik@octave.org>
date Wed, 17 Aug 2016 21:56:55 -0700
parents 2758af148ced
children 17b71d845251
files scripts/mkdoc.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/mkdoc.pl	Wed Aug 17 17:57:49 2016 -0400
+++ b/scripts/mkdoc.pl	Wed Aug 17 21:56:55 2016 -0700
@@ -57,7 +57,7 @@
   next MFILE unless @help_txt;
 
   print "\x{1d}$fcn\n";
-  print "\@c $fcn ", File::Spec->catfile ("scripts", $m_fname), "\n";
+  print "\@c $fcn $m_fname\n";
 
   foreach $_ (@help_txt)
     {