Skip to content

Commit

Permalink
Modify distdir rule to skip .git directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmomjian committed Jan 15, 2009
1 parent 520c41b commit 9173d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# PostgreSQL top level makefile
#
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.49 2008/12/04 07:02:56 petere Exp $
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.50 2009/01/15 01:53:49 momjian Exp $
#

subdir =
Expand Down Expand Up @@ -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"; \
Expand Down

0 comments on commit 9173d75

Please sign in to comment.