Remove .tarball-revision generation from meson dist
Toward making release tarball identical to git checkout now that we are moving to meson.
This commit is contained in:
parent
1e6027e29c
commit
6d3d0ebba3
|
@ -42,7 +42,6 @@ EXTRA_DIST = \
|
||||||
perf/texts/fa-thelittleprince.txt \
|
perf/texts/fa-thelittleprince.txt \
|
||||||
meson-cc-tests/intel-atomic-primitives-test.c \
|
meson-cc-tests/intel-atomic-primitives-test.c \
|
||||||
meson-cc-tests/solaris-atomic-operations.c \
|
meson-cc-tests/solaris-atomic-operations.c \
|
||||||
write-tarball-revision.py \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = \
|
MAINTAINERCLEANFILES = \
|
||||||
|
|
|
@ -358,10 +358,6 @@ if not get_option('gtk_doc').disabled()
|
||||||
subdir('docs')
|
subdir('docs')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not meson.is_subproject()
|
|
||||||
meson.add_dist_script('write-tarball-revision.py')
|
|
||||||
endif
|
|
||||||
|
|
||||||
configure_file(output: 'config.h', configuration: conf)
|
configure_file(output: 'config.h', configuration: conf)
|
||||||
|
|
||||||
summary({'prefix': get_option('prefix'),
|
summary({'prefix': get_option('prefix'),
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import os, subprocess
|
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
outfile = Path(
|
|
||||||
os.getenv ('MESON_DIST_ROOT')
|
|
||||||
or os.getenv ('MESON_SOURCE_ROOT')
|
|
||||||
or Path(__file__).parent
|
|
||||||
) / '.tarball-revision'
|
|
||||||
|
|
||||||
with open(outfile, 'wb') as f:
|
|
||||||
f.write(subprocess.check_output(['git', 'log', '--no-color', '--no-decorate', 'HEAD~..HEAD']))
|
|
Loading…
Reference in New Issue