summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-07 13:21:53 -0800
committerMatt Turner <[email protected]>2014-12-12 12:11:49 -0800
commita267212a4d2cad366f6e90500e81840028246b2a (patch)
treeef0abf439f5d92e6448eb1a9bf8ee08554c3528e
parentb662d5282f77bec415ff430b94a5eb925d3f74e2 (diff)
mesa: Add a dist hook to remove .gitignore files from distribution.
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 76451763776..61a7ad1aa84 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -110,3 +110,8 @@ checksums: $(ARCHIVES)
@-sha256sum $(PACKAGE_NAME).zip
.PHONY: tarballs checksums
+
+# We list some directories in EXTRA_DIST, but don't actually want to include
+# the .gitignore files in the tarball.
+dist-hook:
+ find $(distdir) -name .gitignore -exec $(RM) {} +