changeset 24943:23b5c0678051 stable

mk_qthelp.pl: Change absolute filenames to basesname (filenames) for Qt4 (bug #53399). * mk_qthelp.pl: Change absolute filenames to basesname (filenames) for .qhcp file.
author Rik <rik@octave.org>
date Wed, 21 Mar 2018 10:27:32 -0700
parents f0a427d09dba
children 13edbb760108 ba9d37893822
files doc/interpreter/mk_qthelp.pl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/mk_qthelp.pl	Wed Mar 21 10:17:23 2018 -0700
+++ b/doc/interpreter/mk_qthelp.pl	Wed Mar 21 10:27:32 2018 -0700
@@ -172,8 +172,8 @@
 # Prepare Qt Help Collection Project document (.qhcp file)
 open ($FH, ">", "$fname.qhcp") or die "Unable to open $fname.qhcp";
 
-$qhpfile = "$fname.qhp";
-$qchfile = "$fname.qch";
+$qhpfile = basename ($fname) . ".qhp";
+$qchfile = basename ($fname) . ".qch";
 
 # This is the entire file
 print $FH <<__EOT4__;