summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2022-12-23 11:16:17 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2022-12-23 11:16:17 +0100
commitd8d7c8c2e4065485208431815aba6bf22f4f2e9c (patch)
treedb00051feaedeb02eac7abf6329a9087fee9456c
parentee0589cf5a5e4c2e95fc9302a8a193e4c3f43a2a (diff)
downloadsigc++-d8d7c8c2e4065485208431815aba6bf22f4f2e9c.tar.gz
meson.build: Don't distribute the .github directory
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 629e86e..01c1f2e 100644
--- a/meson.build
+++ b/meson.build
@@ -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