summaryrefslogtreecommitdiff
path: root/metadata
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-12-17 21:48:02 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2019-01-21 21:18:06 +0100
commit3ba59ec6deaaa5e0efca2882bf9536319f3f60ca (patch)
tree9f22d1bf97855f02e2cc374ea98aaa7c15d1aa8a /metadata
parent00eae27361a3b0cc4fdcbad45611367132a10019 (diff)
downloadgvfs-3ba59ec6deaaa5e0efca2882bf9536319f3f60ca.tar.gz
build: Use generators placeholders
Functions derived from generators as `configure_file`, `custom_target` and `i18n.merge_file` can use placeholders like `@BASENAME@` that removes the extension from the input filename string. The output string has been replaced by this placeholder that allows in some cases the use of less variables.
Diffstat (limited to 'metadata')
-rw-r--r--metadata/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/meson.build b/metadata/meson.build
index 20ef5e03..bbfd09fd 100644
--- a/metadata/meson.build
+++ b/metadata/meson.build
@@ -7,7 +7,7 @@ if install_systemd_systemduserunitdir
configure_file(
input: service + '.in',
- output: service,
+ output: '@BASENAME@',
configuration: service_conf,
install: true,
install_dir: systemd_systemduserunitdir,