mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
meson: remove workaround for old meson bug with command quoting
Those bugs were fixed a long time ago. Let's take advantage of this and use the usual $() syntax.
This commit is contained in:
parent
358fb6862b
commit
9e08359864
|
@ -198,12 +198,9 @@ if git.found()
|
|||
custom_target(
|
||||
'update-man-rules',
|
||||
output : 'update-man-rules',
|
||||
# slightly strange syntax because of
|
||||
# https://github.com/mesonbuild/meson/issues/1643
|
||||
# and https://github.com/mesonbuild/meson/issues/1512
|
||||
command : ['sh', '-c',
|
||||
'cd @0@ && '.format(meson.build_root()) +
|
||||
'python3 @0@/tools/make-man-rules.py `git ls-files ":/man/*.xml"` >t && '.format(meson.source_root()) +
|
||||
'python3 @0@/tools/make-man-rules.py $(git ls-files ":/man/*.xml") >t && '.format(meson.source_root()) +
|
||||
'mv t @0@/rules/meson.build'.format(meson.current_source_dir())],
|
||||
depend_files : custom_entities_ent)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue