refind: install man pages (#439147)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
withSbsigntool ? false, # currently, cross compiling sbsigntool is broken, so default to false
|
||||
sbsigntool,
|
||||
makeWrapper,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -45,6 +46,11 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-99k86A2na4bFZygeoiW2qHkHzob/dyM8k1elIsEVyPA=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Removes hardcoded toolchain for aarch64, allowing successful aarch64 builds.
|
||||
./0001-toolchain.patch
|
||||
@@ -53,7 +59,11 @@ stdenv.mkDerivation rec {
|
||||
./0002-preserve-dates.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [ gnu-efi_3 ];
|
||||
|
||||
hardeningDisable = [ "stackprotector" ];
|
||||
@@ -111,6 +121,7 @@ stdenv.mkDerivation rec {
|
||||
# docs
|
||||
install -D -m0644 docs/refind/* $out/share/refind/docs/html/
|
||||
install -D -m0644 docs/Styles/* $out/share/refind/docs/Styles/
|
||||
installManPage docs/man/*.8
|
||||
install -D -m0644 README.txt $out/share/refind/docs/README.txt
|
||||
install -D -m0644 NEWS.txt $out/share/refind/docs/NEWS.txt
|
||||
install -D -m0644 BUILDING.txt $out/share/refind/docs/BUILDING.txt
|
||||
|
||||
Reference in New Issue
Block a user