tessen: refactor manpage installation
This commit is contained in:
parent
98ef945bc3
commit
1473c495da
1 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
, wl-clipboard
|
||||
, pass
|
||||
, bemenu
|
||||
, scdoc
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
|
@ -20,7 +21,7 @@ stdenvNoCC.mkDerivation rec {
|
|||
sha256 = "sha256-U6obXpYzIprOJ+b3QiE+eDOq1s0DYiwM55qTga9/8TE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles scdoc ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
|
@ -32,7 +33,9 @@ stdenvNoCC.mkDerivation rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage man/*
|
||||
scdoc < man/tessen.1.scd > man/tessen.1
|
||||
scdoc < man/tessen.5.scd > man/tessen.5
|
||||
installManPage man/*.{1,5}
|
||||
installShellCompletion --cmd tessen \
|
||||
--bash completion/tessen.bash-completion \
|
||||
--fish completion/tessen.fish-completion
|
||||
|
|
Loading…
Reference in a new issue