From a267212a4d2cad366f6e90500e81840028246b2a Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 7 Dec 2014 13:21:53 -0800 Subject: mesa: Add a dist hook to remove .gitignore files from distribution. --- Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 7645176..61a7ad1 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) {} + -- cgit v1.1