Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From 4f000a4a19975d6aba71427e693cd1ed080abda9 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Thu, 22 Mar 2018 11:08:30 +0100 |
| 4 | Subject: [PATCH] Do not create settings settings/property documentation |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | It was tried to get this work but gi / GirRepository could not be found by |
| 10 | python. Anyway it is not necessary for us to have the settings/property docs. |
| 11 | |
| 12 | Upstream-Status: Inappropriate [OE specific] |
| 13 | |
| 14 | Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com> |
| 15 | --- |
| 16 | Makefile.am | 11 ----------- |
| 17 | configure.ac | 5 ----- |
| 18 | 2 files changed, 16 deletions(-) |
| 19 | |
| 20 | diff --git a/Makefile.am b/Makefile.am |
| 21 | index b180466..1ab4658 100644 |
| 22 | --- a/Makefile.am |
| 23 | +++ b/Makefile.am |
| 24 | @@ -1298,9 +1298,7 @@ EXTRA_DIST += \ |
| 25 | if HAVE_INTROSPECTION |
| 26 | |
| 27 | libnm_noinst_data = \ |
| 28 | - libnm/nm-property-docs.xml \ |
| 29 | libnm/nm-settings-docs-overrides.xml \ |
| 30 | - libnm/nm-settings-docs.xml \ |
| 31 | libnm/nm-settings-keyfile-docs.xml \ |
| 32 | libnm/nm-settings-ifcfg-rh-docs.xml |
| 33 | |
| 34 | @@ -3930,18 +3928,9 @@ $(clients_common_libnmc_base_la_OBJECTS): $(libnm_lib_h_pub_mkenums) |
| 35 | $(clients_common_libnmc_base_la_OBJECTS): clients/common/.dirstamp |
| 36 | |
| 37 | clients_common_settings_doc_h = clients/common/settings-docs.h |
| 38 | -if HAVE_INTROSPECTION |
| 39 | -$(clients_common_settings_doc_h): clients/common/settings-docs.xsl libnm/nm-property-docs.xml clients/common/.dirstamp |
| 40 | - $(AM_V_GEN) $(XSLTPROC) --output $@ $< $(word 2,$^) |
| 41 | -DISTCLEANFILES += $(clients_common_settings_doc_h) |
| 42 | -check-local-settings-docs: $(clients_common_settings_doc_h) |
| 43 | - $(srcdir)/tools/check-settings-docs.sh "$(srcdir)" "$(builddir)" "$(clients_common_settings_doc_h)" |
| 44 | -check_local += check-local-settings-docs |
| 45 | -else |
| 46 | $(clients_common_settings_doc_h): $(clients_common_settings_doc_h).in clients/common/.dirstamp |
| 47 | $(AM_V_GEN) cp "$(srcdir)/$(clients_common_settings_doc_h).in" "$(builddir)/$(clients_common_settings_doc_h)" |
| 48 | check-local-settings-docs: |
| 49 | -endif |
| 50 | EXTRA_DIST += \ |
| 51 | $(clients_common_settings_doc_h) \ |
| 52 | $(clients_common_settings_doc_h).in |
| 53 | diff --git a/configure.ac b/configure.ac |
| 54 | index b914219..872c292 100644 |
| 55 | --- a/configure.ac |
| 56 | +++ b/configure.ac |
| 57 | @@ -1215,11 +1215,6 @@ GTK_DOC_CHECK(1.0) |
| 58 | # check if we can build setting property documentation |
| 59 | build_docs=no |
| 60 | if test -n "$INTROSPECTION_MAKEFILE"; then |
| 61 | - # If g-i is installed we know we have python, but we might not have pygobject |
| 62 | - if ! "$PYTHON" -c 'from gi.repository import GObject' >& /dev/null; then |
| 63 | - AC_MSG_ERROR(["--enable-introspection aims to build the settings documentation. This requires GObject introspection for python (pygobject)]) |
| 64 | - fi |
| 65 | - |
| 66 | AC_PATH_PROG(PERL, perl) |
| 67 | if test -z "$PERL"; then |
| 68 | AC_MSG_ERROR([--enable-introspection requires perl]) |
| 69 | -- |
| 70 | 2.20.1 |
| 71 | |