gnome = import('gnome') conf = configuration_data() conf.set('TRY_POINTS', get_option('try_points')) conf.set('UTRY_POINTS', get_option('utry_points')) conf.set('KICK_POINTS', get_option('kick_points')) year = run_command('find_year.sh').stdout() conf.set_quoted('COPYRIGHT_YEAR', year) config_h = configure_file(configuration: conf, output: 'config.h') sources = files( 'main.c', 'rugby-app-window.c', 'rugby-list-store.c', 'rugby-possibility.c', 'rugby-possibility-widget.c' ) sources += config_h sources += resources deps = [gio_dep, gtk_dep] executable('rugby', sources, dependencies: deps, install: true)