summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-12-07 13:21:53 -0800
committerMatt Turner <mattst88@gmail.com>2014-12-12 12:11:49 -0800
commita267212a4d2cad366f6e90500e81840028246b2a (patch)
treeef0abf439f5d92e6448eb1a9bf8ee08554c3528e /Makefile.am
parentb662d5282f77bec415ff430b94a5eb925d3f74e2 (diff)
mesa: Add a dist hook to remove .gitignore files from distribution.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7645176377..61a7ad1aa8 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) {} +