libpsl: build & install documentation
Since this includes the man page, it seems worth the dependencies.
This commit is contained in:
parent
9e60241f2f
commit
22b2330a4d
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, icu, libxslt
|
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, docbook_xsl, gtk_doc
|
||||||
, pkgconfig }:
|
, icu, libxslt, pkgconfig }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -26,18 +26,18 @@ in stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ icu libxslt ];
|
buildInputs = [ icu libxslt ];
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook docbook_xsl gtk_doc pkgconfig ];
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
echo "EXTRA_DIST =" > gtk-doc.make
|
mkdir m4
|
||||||
echo "CLEANFILES =" >> gtk-doc.make
|
gtkdocize
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# The libpsl check phase requires the list's test scripts (tests/) as well
|
# The libpsl check phase requires the list's test scripts (tests/) as well
|
||||||
tar --directory=list --strip-components=1 -xf "${listArchive}"
|
tar --directory=list --strip-components=1 -xf "${listArchive}"
|
||||||
'';
|
'';
|
||||||
configureFlags = "--disable-static --enable-man";
|
configureFlags = "--disable-static --enable-gtk-doc --enable-man";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user