diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2022-05-05 15:39:45 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2022-05-06 18:33:27 +0200 |
commit | 649314ddaa4c34feca2d9bc5821edc331a890255 (patch) | |
tree | 311d82b4c6fc0c1ce3634bf144e369164498ea80 /Makefile.am | |
parent | 53cfb30bebd82dae7bf0e04eb1e719f3fb8b3d11 (diff) | |
download | NetworkManager-649314ddaa4c34feca2d9bc5821edc331a890255.tar.gz |
libnm: replace nm-types.h by defining the types in respective headers
The typedefs in nm-types.h confuse gtkdoc-scan. It generates a
libnm-sections.txt file like this:
<SECTION>
<FILE>nm-types</FILE>
<TITLE>NMDeviceOvs</TITLE>
NMAccessPoint
NMActiveConnection
NMCheckpoint
NMClient
NMDevice
...
Note the wrongly picked title and, more importantly, the object types in
a bogus section. This in turn makes gtkdoc-mkdb fail to include the
property and signal documentation in appropriate sections.
Without nm-types.h, we need to mind the header dependencies. This means
that we need to order the headers that define types before the ones that
use them. Also, we need to break the depencency loops in few palces.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ba86583542..a9f028dcf9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1691,7 +1691,6 @@ libnm_lib_h_pub_real = \ src/libnm-client-public/nm-object.h \ src/libnm-client-public/nm-remote-connection.h \ src/libnm-client-public/nm-secret-agent-old.h \ - src/libnm-client-public/nm-types.h \ src/libnm-client-public/nm-vpn-connection.h \ src/libnm-client-public/nm-vpn-editor.h \ src/libnm-client-public/nm-vpn-plugin-old.h \ |