mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
build: Generate the list of files to use in meson.build
Making it simpler to update it
This commit is contained in:
parent
ba65377f06
commit
dd3e1854ef
1 changed files with 6 additions and 0 deletions
|
@ -90,4 +90,10 @@ if __name__ == "__main__":
|
|||
for m in not_generated]))
|
||||
rcode = 1
|
||||
|
||||
if rcode == 1:
|
||||
generated = sorted(list(generated))
|
||||
print("List of files to use in `meson.build`:\n %s" %
|
||||
'\n '.join(["'%s/%s'," % (m.split(os.path.sep)[-2], m.split(os.path.sep)[-1])
|
||||
for m in generated]))
|
||||
|
||||
exit(rcode)
|
||||
|
|
Loading…
Reference in a new issue