|
1 | 1 | #
|
2 | 2 | # PostgreSQL top level makefile
|
3 | 3 | #
|
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 $ |
5 | 5 | #
|
6 | 6 |
|
7 | 7 | subdir =
|
@@ -117,7 +117,7 @@ postgresql-test-$(VERSION).tar: distdir
|
117 | 117 |
|
118 | 118 | distdir:
|
119 | 119 | 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 \ |
121 | 121 | file=`expr X$$x : 'X\./\(.*\)'`; \
|
122 | 122 | if test -d "$(top_srcdir)/$$file" ; then \
|
123 | 123 | mkdir "$(distdir)/$$file" && chmod 777 "$(distdir)/$$file";\
|
|