summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-07-19 08:19:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-22 11:42:20 +0100
commit5bdd9988d9e64814191fb7480d6a4c1355b019cc (patch)
treef25725c6f31fa70852015c5510864fd08239c957
parent35b26fb19df55172b98cb304c493334a9db7fb15 (diff)
downloadpoky-5bdd9988d9e64814191fb7480d6a4c1355b019cc.tar.gz
Remove gtk-doc
(From OE-Core rev: f8a87fd585fc199a7c7cff81d11fdc35b16cf3d2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-gnome/gtk-doc/gtk-doc.bb19
-rw-r--r--meta/recipes-gnome/gtk-doc/gtk-doc.m461
2 files changed, 0 insertions, 80 deletions
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc.bb b/meta/recipes-gnome/gtk-doc/gtk-doc.bb
deleted file mode 100644
index 3147d4a6ff..0000000000
--- a/meta/recipes-gnome/gtk-doc/gtk-doc.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "API documentation generation tool for GTK+ and GNOME"
2DESCRIPTION = "gtk-doc is a tool for generating API reference documentation. \
3It is used for generating the documentation for GTK+, GLib \
4and GNOME."
5SECTION = "x11/base"
6SRC_URI = "file://gtk-doc.m4"
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://../gtk-doc.m4;endline=10;md5=868a952d8bb2d825d724854cfaf8f14e"
9
10PR = "r4"
11
12ALLOW_EMPTY_${PN} = "1"
13
14BBCLASSEXTEND = "native"
15
16do_install () {
17 install -d ${D}${datadir}/aclocal/
18 install -m 0644 ${WORKDIR}/gtk-doc.m4 ${D}${datadir}/aclocal/
19}
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc.m4 b/meta/recipes-gnome/gtk-doc/gtk-doc.m4
deleted file mode 100644
index 2cfa1e7178..0000000000
--- a/meta/recipes-gnome/gtk-doc/gtk-doc.m4
+++ /dev/null
@@ -1,61 +0,0 @@
1dnl -*- mode: autoconf -*-
2
3# serial 1
4
5dnl Usage:
6dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
7AC_DEFUN([GTK_DOC_CHECK],
8[
9 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
10 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
11
12 dnl check for tools we added during development
13 AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
14 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
15 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
16
17 dnl for overriding the documentation installation directory
18 AC_ARG_WITH([html-dir],
19 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
20 [with_html_dir='${datadir}/gtk-doc/html'])
21 HTML_DIR="$with_html_dir"
22 AC_SUBST([HTML_DIR])
23
24 dnl enable/disable documentation building
25 AC_ARG_ENABLE([gtk-doc],
26 AS_HELP_STRING([--enable-gtk-doc],
27 [use gtk-doc to build documentation [[default=no]]]),,
28 [enable_gtk_doc=no])
29
30 if test x$enable_gtk_doc = xyes; then
31 ifelse([$1],[],
32 [PKG_CHECK_EXISTS([gtk-doc],,
33 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
34 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
35 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
36 fi
37
38 AC_MSG_CHECKING([whether to build gtk-doc documentation])
39 AC_MSG_RESULT($enable_gtk_doc)
40
41 dnl enable/disable output formats
42 AC_ARG_ENABLE([gtk-doc-html],
43 AS_HELP_STRING([--enable-gtk-doc-html],
44 [build documentation in html format [[default=yes]]]),,
45 [enable_gtk_doc_html=yes])
46 AC_ARG_ENABLE([gtk-doc-pdf],
47 AS_HELP_STRING([--enable-gtk-doc-pdf],
48 [build documentation in pdf format [[default=no]]]),,
49 [enable_gtk_doc_pdf=no])
50
51 if test -z "$GTKDOC_MKPDF"; then
52 enable_gtk_doc_pdf=no
53 fi
54
55
56 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
57 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
58 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
59 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
60 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
61])