meson.build: Don't distribute the .github directory
authorKjell Ahlstedt <[email protected]>
Fri, 23 Dec 2022 10:16:17 +0000 (23 11:16 +0100)
committerKjell Ahlstedt <[email protected]>
Fri, 23 Dec 2022 10:16:17 +0000 (23 11:16 +0100)
meson.build

index 629e86e..01c1f2e 100644 (file)
@@ -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