meson: generate and distribute spec files and AUTHORS

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
Pavel Hrdina
2020-07-28 17:51:53 +02:00
parent c3669c8675
commit 932a5b5499
7 changed files with 74 additions and 22 deletions

14
scripts/meson-dist.py Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env python3
import os
import sys
meson_build_root = sys.argv[1]
file_name = sys.argv[2]
meson_dist_root = os.environ['MESON_DIST_ROOT']
os.system('cp {0} {1}'.format(
os.path.join(meson_build_root, file_name),
os.path.join(meson_dist_root, file_name)
))