@@ -266,12 +266,17 @@ if can_add_dist_script
python3, dist_changelog,
project_source_root,
)
+ # Don't distribute these files and directories.
+ dont_distribute = [
+ '.github',
+ ]
# Add build scripts to the distribution directory, and delete .gitignore
# files and an empty $MESON_PROJECT_DIST_ROOT/build/ directory.
meson.add_dist_script(
python3, dist_build_scripts,
project_source_root,
'untracked' / 'build_scripts',
+ dont_distribute,
)
endif