libpsl: build & install documentation

Since this includes the man page, it seems worth the dependencies.

Changed files
+6 -6
pkgs
development
libraries
libpsl
+6 -6
pkgs/development/libraries/libpsl/default.nix
···
-
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, icu, libxslt
-
, pkgconfig }:
+
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, docbook_xsl, gtk_doc
+
, icu, libxslt, pkgconfig }:
let
···
};
buildInputs = [ icu libxslt ];
-
nativeBuildInputs = [ autoreconfHook pkgconfig ];
+
nativeBuildInputs = [ autoreconfHook docbook_xsl gtk_doc pkgconfig ];
preAutoreconf = ''
-
echo "EXTRA_DIST =" > gtk-doc.make
-
echo "CLEANFILES =" >> gtk-doc.make
+
mkdir m4
+
gtkdocize
'';
preConfigure = ''
# The libpsl check phase requires the list's test scripts (tests/) as well
tar --directory=list --strip-components=1 -xf "${listArchive}"
'';
-
configureFlags = "--disable-static --enable-man";
+
configureFlags = "--disable-static --enable-gtk-doc --enable-man";
enableParallelBuilding = true;