WIP: getting better

This commit is contained in:
Vladimír Čunát
2014-08-30 19:11:52 +02:00
parent b8c7091335
commit abbc93f783
9 changed files with 58 additions and 25 deletions
@@ -15,3 +15,18 @@ glibPreFixupPhase() {
}
preFixupPhases+=(glibPreFixupPhase)
preFixupHooks+=(_multioutGtkDocs)
# Move documentation to the desired outputs.
_multioutGtkDocs() {
if [ "$outputs" = "out" ]; then return; fi;
_moveToOutput share/gtk-doc "${!outputDoc}"
# Remove empty share directory.
if [ -d "$out/share" ]; then
rmdir "$out/share" 2> /dev/null || true
fi
}