mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
sourcery-codebench: fix installation of manpages
Sourcery CodeBench manpages are installed under share/doc/<target-triplet>/man/. Add symlinks so that the manpages become available to "man". NOTE: I use symlinks instead of moving the manpages, because I think it is best to do as little as possible to prebuilt packages.
This commit is contained in:
parent
f54c4c99e3
commit
8a1409432e
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ let
|
|||
*gdb) patchelf --set-rpath "${ncurses}/lib" "$file";;
|
||||
esac
|
||||
done
|
||||
|
||||
# Manpages
|
||||
mkdir -p "$out/share/man"
|
||||
ln -s "$out"/share/doc/*/man/man1 "$out/share/man/man1"
|
||||
ln -s "$out"/share/doc/*/man/man7 "$out/share/man/man7"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue