i3: generate doc and man pages

This generates missing man pages for i3-gaps et al.

Note: i3 already has man pages because they are shipped with its src
tarball. This is *not* the case for i3-gaps.
This commit is contained in:
Michael Adler 2021-10-12 10:57:21 +02:00 committed by Michael Adler
parent fef1277daa
commit b9942be292

View File

@ -1,7 +1,9 @@
{ fetchurl, lib, stdenv, pkg-config, makeWrapper, meson, ninja, installShellFiles, libxcb, xcbutilkeysyms
, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification, libX11, pcre, libev
, yajl, xcb-util-cursor, perl, pango, perlPackages, libxkbcommon
, xorgserver, xvfb-run }:
, xorgserver, xvfb-run
, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, findXMLCatalogs
}:
stdenv.mkDerivation rec {
pname = "i3";
@ -12,7 +14,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-im7hd2idzyKWTSC2CTAU7k+gQZNF0/1RXVUS2ZgLsnk=";
};
nativeBuildInputs = [ pkg-config makeWrapper meson ninja installShellFiles ];
nativeBuildInputs = [
pkg-config makeWrapper meson ninja installShellFiles
asciidoc xmlto docbook_xml_dtd_45 docbook_xsl findXMLCatalogs
];
mesonFlags = [
"-Ddocs=true"
"-Dmans=true"
];
buildInputs = [
libxcb xcbutilkeysyms xcbutil xcbutilwm xcbutilxrm libxkbcommon