diff options
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
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) {} + |