From: Bruce Momjian Date: Thu, 15 Jan 2009 01:53:49 +0000 (+0000) Subject: Modify distdir rule to skip .git directory. X-Git-Tag: recoveryinfrav9~41 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=ff9beecd497d5e88ac91dd0a067b35eb5b540beb;p=users%2Fsimon%2Fpostgres.git Modify distdir rule to skip .git directory. --- diff --git a/GNUmakefile.in b/GNUmakefile.in index b00fe27b36..3045a4e47e 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -117,7 +117,7 @@ postgresql-test-$(VERSION).tar: distdir distdir: rm -rf $(distdir)* $(dummy) - for x in `cd $(top_srcdir) && find . -name CVS -prune -o -print`; do \ + for x in `cd $(top_srcdir) && find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -print`; do \ file=`expr X$$x : 'X\./\(.*\)'`; \ if test -d "$(top_srcdir)/$$file" ; then \ mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file"; \