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-04 16:33:53 +0100
commitdc34f1be6a3c1fa6d5615ad5d647003e7ce3196f (patch)
tree46017945914ab9e69467f12a69bb5ee7180ef07d /metadata
parent12f4c5a98e1b4a1a0b5fba45439dab74d12519bb (diff)
downloadgvfs-dc34f1be6a3c1fa6d5615ad5d647003e7ce3196f.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,