libadwaita: Fix API docs
Also clean up remnants of gtk-doc from before gi-docgen migration.
This commit is contained in:
parent
4dd2e58c4d
commit
2a172dcba9
1 changed files with 3 additions and 8 deletions
|
@ -1,10 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, docbook-xsl-nons
|
|
||||||
, gi-docgen
|
, gi-docgen
|
||||||
, gtk-doc
|
|
||||||
, libxml2
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -37,10 +34,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
docbook-xsl-nons
|
|
||||||
gi-docgen
|
gi-docgen
|
||||||
gtk-doc
|
|
||||||
libxml2 # for xmllint
|
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -99,8 +93,9 @@ stdenv.mkDerivation rec {
|
||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postFixup = ''
|
||||||
mv $out/share/{doc,gtk-doc}
|
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||||
|
moveToOutput "share/doc" "$devdoc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue