summaryrefslogtreecommitdiff
path: root/clients/tui
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-12-16 14:59:37 +0100
committerThomas Haller <thaller@redhat.com>2017-12-18 11:25:06 +0100
commit0735b35dd0fe87285f85c0040dfcb53cec2d1bd9 (patch)
tree91f9836bba6c365a24846869317bec15f427c0ac /clients/tui
parenta58cde8d2c9595941067be7c79e03ad34463d63a (diff)
downloadNetworkManager-0735b35dd0fe87285f85c0040dfcb53cec2d1bd9.tar.gz
build: use template files for enum types' sources generation
Source files for enum types are generated by passing segments of the source code of the files to the `glib-mkenums` command. This patch removes those parameters where source code is used from meson build files by moving those segmeents to template files. https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00057.html
Diffstat (limited to 'clients/tui')
-rw-r--r--clients/tui/meson.build2
-rw-r--r--clients/tui/newt/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/clients/tui/meson.build b/clients/tui/meson.build
index 2ed137b260..5a125d102b 100644
--- a/clients/tui/meson.build
+++ b/clients/tui/meson.build
@@ -71,7 +71,7 @@ endif
executable(
'nmtui',
- sources + [libnm_core_enums_h],
+ sources + [libnm_core_enum[1]],
include_directories: incs,
dependencies: deps,
c_args: cflags,
diff --git a/clients/tui/newt/meson.build b/clients/tui/newt/meson.build
index 2920a8f9fe..ec14f1264d 100644
--- a/clients/tui/newt/meson.build
+++ b/clients/tui/newt/meson.build
@@ -23,7 +23,7 @@ sources = files(
libnmt_newt = static_library(
'nmt-newt',
- sources: sources + [libnm_core_enums_h],
+ sources: sources + [libnm_core_enum[1]],
include_directories: incs,
dependencies: deps,
c_args: cflags