-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meson/muon: consolidate scripts & sanitise dist
Move some of the build-system scripts into a top-level meson-scripts directly, and add a script (meson-scripts/dist-tarball.sh) to clean up the dist tarball before it's created.
- Loading branch information
1 parent
f2bd67f
commit daf2501
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
# | ||
# Script to sanitise the tarball when calling "meson dist". By default, | ||
# "meson dist" calls git-archive, which includes more files than the autotools | ||
# version of "make dist". | ||
|
||
# TODO: ".*" as a glob might be too much in the future; expand this out... | ||
FILES_TO_IGNORE=".* | ||
mkrelease.sh | ||
dev-docs" | ||
|
||
( | ||
cd "$MESON_DIST_ROOT" && { | ||
IFS=$'\n' | ||
for f in $FILES_TO_IGNORE | ||
do | ||
echo "Removing $f from tarball..." | ||
rm -r "./$f" | ||
done | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters