libpsl: build & install documentation

Since this includes the man page, it seems worth the dependencies.
This commit is contained in:
Tobias Geerinckx-Rice 2015-08-06 21:33:05 +02:00
parent 9e60241f2f
commit 22b2330a4d

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, icu, libxslt
, pkgconfig }:
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, docbook_xsl, gtk_doc
, icu, libxslt, pkgconfig }:
let
@ -26,18 +26,18 @@ in stdenv.mkDerivation {
};
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;