History

meson: use relative file paths for file2string

This fixes "Generated from" comments to not include local source path in generated files.

Kacper Michajłow committed 2 years ago

Commit 71f22201 parent ff479267 files · +20 −21Browse files

Showing the changes to player/javascript (1 of 7 files). Show all

Unified · Split

player/javascript/meson.build+2−2
@@ -1,6 +1,6 @@
11 defaults_js = custom_target('defaults.js',
2− input: join_paths(source_root, 'player', 'javascript', 'defaults.js'),
2+ input: 'defaults.js',
33 output: 'defaults.js.inc',
4− command: [file2string, '@INPUT@', '@OUTPUT@'],
4+ command: [file2string, '@INPUT@', '@OUTPUT@', '@SOURCE_ROOT@'],
55 )
66 sources += defaults_js

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t