From a267212a4d2cad366f6e90500e81840028246b2a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 7 Dec 2014 13:21:53 -0800 Subject: [PATCH] mesa: Add a dist hook to remove .gitignore files from distribution. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) 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) {} + -- 2.30.2