diff --git a/meson.build b/meson.build index 99574da82dc8cdc746a639f385f35f973e8fcff9..9369ba8e938cc39979a8d71c7d0ca6cf37469396 100644 --- a/meson.build +++ b/meson.build @@ -16,15 +16,12 @@ gtk_dep = dependency('gtk4', version: '>= 4.0') conf = configuration_data() conf.set_quoted('VERSION','@VCS_TAG@') - -config_h = declare_dependency( - sources: vcs_tag( - input: configure_file( - output: 'config.h.in', - configuration: conf - ), - output: 'config.h', - ) +config_h = vcs_tag( + input: configure_file( + output: 'config.h.in', + configuration: conf + ), + output: 'config.h', ) cflags = [] diff --git a/src/main.c b/src/main.c index 4642cb00eff2004f1a49dd65b13e8e712eb36c88..d94fc32f4f8502da681603df74d24baf8c48e5f8 100644 --- a/src/main.c +++ b/src/main.c @@ -3,7 +3,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include "config.h" +#include <config.h> #include "rugby-app-window.h" #include "rugby-pref-window.h" diff --git a/src/meson.build b/src/meson.build index 903b613070a080daac79da23eb0ac349ee8b2962..9828a418ba4408e66538131ef404743ef0e8865c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -11,7 +11,7 @@ sources = [ ] executable('rugby', - sources, resources, compiled_schemas, - dependencies: [config_h, gio_dep, gtk_dep], + sources, config_h, resources, compiled_schemas, + dependencies: [gio_dep, gtk_dep], install_dir: get_option('bindir'), install: true) diff --git a/src/rugby-app-window.c b/src/rugby-app-window.c index 7c972fc9417ddf1c3e5cb4d36aacf482c8ffb323..ca1b4480afbaac6e669511e75554f3df2eac00b2 100644 --- a/src/rugby-app-window.c +++ b/src/rugby-app-window.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include "config.h" +#include <config.h> #include "rugby-app-window.h" #include "rugby-list-store.h" diff --git a/src/rugby-possibility-widget.c b/src/rugby-possibility-widget.c index 94a1c9482d5e0f45b3dbfbdd99a1ef5296896328..4483c9f48348e6d40d688d0bfcd8d3d3faca6644 100644 --- a/src/rugby-possibility-widget.c +++ b/src/rugby-possibility-widget.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include "config.h" +#include <config.h> #include "rugby-possibility-widget.h" diff --git a/src/rugby-possibility.c b/src/rugby-possibility.c index 768a78cf1eff678be34d5484396c3967de00ea80..7bedabe8c3d790941685f40027a615c9774d7a18 100644 --- a/src/rugby-possibility.c +++ b/src/rugby-possibility.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ -#include "config.h" +#include <config.h> #include "rugby-possibility.h" struct _RugbyPossibility