mesa: Add a dist hook to remove .gitignore files from distribution.
authorMatt Turner <mattst88@gmail.com>
Sun, 7 Dec 2014 21:21:53 +0000 (13:21 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 12 Dec 2014 20:11:49 +0000 (12:11 -0800)
Makefile.am

index 764517637766370f6ec9ce0318333fb8eaef093b..61a7ad1aa84b7a6a36d1b3d7f4f9be110e69d8c0 100644 (file)
@@ -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) {} +