From: Matt Turner Date: Sun, 7 Dec 2014 21:21:53 +0000 (-0800) Subject: mesa: Add a dist hook to remove .gitignore files from distribution. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a267212a4d2cad366f6e90500e81840028246b2a;p=mesa.git mesa: Add a dist hook to remove .gitignore files from distribution. --- 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) {} +