Skip to content

Commit

Permalink
targets.generic: Move doc/man/info under share/
Browse files Browse the repository at this point in the history
Many packages disregard explicit `--mandir` and friends and just put
things under `--datarootdir`, so align the layout with what is common so
that `{mandir}` and friends in templates are correct.
  • Loading branch information
elprans committed Oct 30, 2024
1 parent b7c8778 commit 493769e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metapkg/targets/generic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ def get_install_path(
elif aspect == "legal":
return prefix / "licenses"
elif aspect == "doc":
return prefix / "doc" / root_subdir
return prefix / "share" / "doc" / root_subdir
elif aspect == "info":
return prefix / "info"
return prefix / "share" / "info"
elif aspect == "man":
return prefix / "man"
return prefix / "share" / "man"
elif aspect == "bin":
return prefix / "bin"
elif aspect == "systembin":
Expand Down

0 comments on commit 493769e

Please sign in to comment.