Add script to install files in the dist tarball.

Add a check inside Meson to detect if we're building from a git clone
or a dist tarball.
(in thie later, don't generated INSTALL.in and git-version.h)
This commit is contained in:
Félix Piédallu
2019-11-08 13:17:08 +01:00
parent 86c5720375
commit 9cd0584e90
2 changed files with 50 additions and 33 deletions

6
meson_dist_script.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
cp -f 'INSTALL' "${MESON_DIST_ROOT}"
# rm -f "${MESON_DIST_ROOT}/INSTALL.in"
cp 'git-version.h' "${MESON_DIST_ROOT}"