diff options
| author | Marty E. Plummer <hanetzer@startmail.com> | 2018-09-17 12:23:39 -0500 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-10-06 03:10:11 -0700 |
| commit | 8fd5297f76d3b61ce0c4c89db7fd1a5d31f16a29 (patch) | |
| tree | c279dd7cd23fe5ef43f30dd69c70caae03077f73 /test cases/frameworks/6 gettext/data/data3 | |
| parent | 2ff69b20df0864182fdf2b146d29dc67d0cb9a5b (diff) | |
| download | meson-8fd5297f76d3b61ce0c4c89db7fd1a5d31f16a29.tar.gz | |
i18n: replace path separator with @
using state.subdir will cause / or \ to be inserted into the target name.
Replace them with @ to future-proof it.
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Diffstat (limited to 'test cases/frameworks/6 gettext/data/data3')
| -rw-r--r-- | test cases/frameworks/6 gettext/data/data3/meson.build | 9 | ||||
| -rw-r--r-- | test cases/frameworks/6 gettext/data/data3/test.desktop.in | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test cases/frameworks/6 gettext/data/data3/meson.build b/test cases/frameworks/6 gettext/data/data3/meson.build new file mode 100644 index 000000000..a09f3fca2 --- /dev/null +++ b/test cases/frameworks/6 gettext/data/data3/meson.build @@ -0,0 +1,9 @@ +# Use filename substitution +i18n.merge_file( + input: 'test.desktop.in', + output: 'test4.desktop', + type: 'desktop', + po_dir: '../../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'applications') +) diff --git a/test cases/frameworks/6 gettext/data/data3/test.desktop.in b/test cases/frameworks/6 gettext/data/data3/test.desktop.in new file mode 100644 index 000000000..33b9a9fd8 --- /dev/null +++ b/test cases/frameworks/6 gettext/data/data3/test.desktop.in @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Test +GenericName=Application +Comment=Test Application +Type=Application + |
