Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manpages list wrong paths to mc.hlp etc #3806

Closed
mc-butler opened this issue Apr 4, 2017 · 6 comments
Closed

manpages list wrong paths to mc.hlp etc #3806

mc-butler opened this issue Apr 4, 2017 · 6 comments
Assignees
Labels
area: docs Improvements or additions to documentation prio: medium Has the potential to affect progress
Milestone

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3806
Reporter vda (@dvlasenk)

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

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by zaytsev (@zyv) on Apr 4, 2017 at 17:49 UTC (comment 1)

Hi Denis,

Could you please offer a patch? Thanks!

Z.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 4, 2017 at 18:17 UTC

Replying to vda (#3806):

%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.

@mc-butler
Copy link
Author

Changed by vda (@dvlasenk) on Apr 13, 2017 at 16:27 UTC

Patch attached

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 14, 2017 at 10:46 UTC (comment 3)

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

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 14, 2017 at 10:48 UTC (comment 4)

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

Applied as [4f4df7d].
Thanks!

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 14, 2017 at 10:50 UTC (comment 5)

  • Status changed from testing to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs Improvements or additions to documentation prio: medium Has the potential to affect progress
Development

No branches or pull requests

2 participants