Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9173d75

Browse files
committed
Modify distdir rule to skip .git directory.
1 parent 520c41b commit 9173d75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GNUmakefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# PostgreSQL top level makefile
33
#
4-
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.49 2008/12/04 07:02:56 petere Exp $
4+
# $PostgreSQL: pgsql/GNUmakefile.in,v 1.50 2009/01/15 01:53:49 momjian Exp $
55
#
66

77
subdir =
@@ -117,7 +117,7 @@ postgresql-test-$(VERSION).tar: distdir
117117

118118
distdir:
119119
rm -rf $(distdir)* $(dummy)
120-
for x in `cd $(top_srcdir) && find . -name CVS -prune -o -print`; do \
120+
for x in `cd $(top_srcdir) && find . \( -name CVS -prune \) -o \( -name .git -prune \) -o -print`; do \
121121
file=`expr X$$x : 'X\./\(.*\)'`; \
122122
if test -d "$(top_srcdir)/$$file" ; then \
123123
mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file"; \

0 commit comments

Comments
 (0)