#1313 soelim stubs broken due to containing full path

output: manpages
pending-fixed
None
5
2014-02-04
2013-09-26
No

I am setting the man.output.in.separate.dir and man.output.base.dir parameters. Unfortunately, this is resulting in the soelim(1) stub files containing full paths to the target man pages which means that they are broken for me:
.so /path/to/install/man/man3f/whatever.3f
instead of:
.so man3f/whatever.3f

I have got a workaround where I replaced the write.stubs template to put the output of make.adjusted.man.filename in a variable (I'd have thought factoring this out of the for-each was sensible anyway) first, and then use "substring-after($filename,$man.output.base.dir)". There's probably a better fix, however.

Discussion

  • Thomas Schraitle

    Hi Oliver,

    although I'm not the maintainer of the manpage stylesheets, I may have a (better?) workaround for you.

    Just set man.output.in.separate.dir to 1 and man.output.base.dir to "". This will do what you want, without customizing the make.adjusted.man.filename template.

    Hope this helps.

     
  • Robert Stayton

    Robert Stayton - 2014-01-10

    I used something like your fix because it is localized to just the write.stubs template. The next snapshot should have it working.

     
  • Robert Stayton

    Robert Stayton - 2014-01-10
    • status: open --> pending-fixed
    • assigned_to: Robert Stayton
     

Log in to post a comment.