diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2020-04-30 19:52:28 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2020-04-30 19:52:28 +0000 |
commit | fb0c97485d90a37ecd870810d2152c7442a9e84c (patch) | |
tree | 3fb017a34a89bd236d9b30cb72dbc1a7b80e1c1c /data/autostart/meson.build | |
parent | de884de7b69647bead3081222aa1c2be443e351f (diff) | |
download | gdm-fb0c97485d90a37ecd870810d2152c7442a9e84c.tar.gz |
data: switch gdm.service.in to use cmake format
We're going to be switching to meson, and meson doesn't
deal too well with an @ in the configuration file that's not
part of a substitution variable.
This commit switches the gdm service over to use a cmake style
of substitution variables, so we can later tell meson to use
configure in cmake mode and workaround the @ confusion.
Diffstat (limited to 'data/autostart/meson.build')
-rw-r--r-- | data/autostart/meson.build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data/autostart/meson.build b/data/autostart/meson.build new file mode 100644 index 00000000..348a6c69 --- /dev/null +++ b/data/autostart/meson.build @@ -0,0 +1,12 @@ +autostart_files_conf = { + 'LIBEXECDIR': gdm_prefix / get_option('libexecdir'), +} + +foreach autostart_file : [ 'orca-autostart.desktop' ] + configure_file( + input: autostart_file, + output: autostart_file, + configuration: autostart_files_conf, + install_dir: get_option('datadir') / 'gdm' / 'greeter' / 'autostart', + ) +endforeach |