mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
libnm/docs: fix building libnm documentation with meson
Currently, the libnm documentation fails to build with meson due to meson replacing backslashes with slashes. This commit introduces a workaround -- replacing the `ignore_decorators` RegEx with an equivalent one that does not use backslashes. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1717
This commit is contained in:
parent
56b1a2c06a
commit
df285fbaa9
|
@ -27,7 +27,7 @@ private_headers = [
|
|||
scan_args = [
|
||||
'--rebuild-types',
|
||||
'--rebuild-sections',
|
||||
'--ignore-decorators=NM_AVAILABLE_IN_\d+_\d+|NM_DEPRECATED_IN_\d+_\d+|NM_DEPRECATED_IN_\d+_\d+_FOR\(\)',
|
||||
'--ignore-decorators=NM_AVAILABLE_IN_[0-9]+_[0-9]+|NM_DEPRECATED_IN_[0-9]+_[0-9]+|NM_DEPRECATED_IN_[0-9]+_[0-9]+_FOR[(][)]',
|
||||
'--ignore-headers=' + ' '.join(private_headers),
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue