diff options
| -rw-r--r-- | meta/classes-recipe/gtk-doc.bbclass | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/classes-recipe/gtk-doc.bbclass b/meta/classes-recipe/gtk-doc.bbclass index c980c6bb52..9d3911966b 100644 --- a/meta/classes-recipe/gtk-doc.bbclass +++ b/meta/classes-recipe/gtk-doc.bbclass | |||
| @@ -33,21 +33,11 @@ EXTRA_OEMESON:prepend = "-D${GTKDOC_MESON_OPTION}=${@bb.utils.contains('GTKDOC_E | |||
| 33 | # needed for m4 macros. | 33 | # needed for m4 macros. |
| 34 | DEPENDS:append = " gtk-doc-native" | 34 | DEPENDS:append = " gtk-doc-native" |
| 35 | 35 | ||
| 36 | # The documentation directory, where the infrastructure will be copied. | ||
| 37 | # gtkdocize has a default of "." so to handle out-of-tree builds set this to $S. | ||
| 38 | GTKDOC_DOCDIR ?= "${S}" | ||
| 39 | |||
| 40 | export STAGING_DIR_HOST | 36 | export STAGING_DIR_HOST |
| 41 | 37 | ||
| 42 | inherit python3native pkgconfig qemu | 38 | inherit python3native pkgconfig qemu |
| 43 | DEPENDS:append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" | 39 | DEPENDS:append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" |
| 44 | 40 | ||
| 45 | do_configure:prepend () { | ||
| 46 | # Need to use ||true as this is only needed if configure.ac both exists | ||
| 47 | # and uses GTK_DOC_CHECK. | ||
| 48 | gtkdocize --srcdir ${S} --docdir ${GTKDOC_DOCDIR} || true | ||
| 49 | } | ||
| 50 | |||
| 51 | do_compile:prepend:class-target () { | 41 | do_compile:prepend:class-target () { |
| 52 | if [ ${GTKDOC_ENABLED} = True ]; then | 42 | if [ ${GTKDOC_ENABLED} = True ]; then |
| 53 | # Write out a qemu wrapper that will be given to gtkdoc-scangobj so that it | 43 | # Write out a qemu wrapper that will be given to gtkdoc-scangobj so that it |
