Ticket #3806 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

manpages list wrong paths to mc.hlp etc

Reported by: vda Owned by: andrew_b
Priority: major Milestone: 4.8.20
Component: documentation Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

The manpage template files in the source tree, doc/man/mc*.1.in,
have some outdated paths listed.
They need these simple fixes:

%prefix%/share/mc/mc.hlp -> %prefix%/share/mc/help/mc.hlp
%prefix%/share/mc/mc.hint -> %prefix%/share/mc/hints/mc.hint
%prefix%/share/mc/mc.ext -> %sysconfdir%/mc/mc.ext
%prefix%/share/mc/mc.menu -> %sysconfdir%/mc/mc.menu
%prefix%/share/mc/filehighlight.ini -> %sysconfdir%/mc/filehighlight.ini

Attachments

0001-manpages-fix-paths-of-mc.hint-and-mc.hlp.patch (6.0 KB) - added by vda 2 months ago.
Patch attached

Change History

comment:1 Changed 3 months ago by zaytsev

Hi Denis,

Could you please offer a patch? Thanks!

Z.

comment:2 in reply to: ↑ description Changed 3 months ago by andrew_b

Replying to vda:

%prefix%/share/mc/mc.ext -> %sysconfdir%/mc/mc.ext
%prefix%/share/mc/mc.menu -> %sysconfdir%/mc/mc.menu
%prefix%/share/mc/filehighlight.ini -> %sysconfdir%/mc/filehighlight.ini

These paths are correct.
First we try file in %sysconfdir%/mc. If it does not exist, then try file in %prefix%/share/mc.

Changed 2 months ago by vda

Patch attached

comment:3 Changed 2 months ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Type changed from enhancement to defect
  • Component changed from mc-core to documentation
  • Milestone changed from Future Releases to 4.8.20

comment:4 Changed 2 months ago by andrew_b

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:5 Changed 2 months ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.