summaryrefslogtreecommitdiff
path: root/GNUmakefile.in
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2009-01-15 01:53:49 +0000
committerBruce Momjian <bruce@momjian.us>2009-01-15 01:53:49 +0000
commit9173d759d209b5fb9cf834307bc549726226cb30 (patch)
treed87f3a9132abe3bc3e20f348df2974d9e26da0ec /GNUmakefile.in
parent520c41b5269e6e1f541881e1c3f27eccdb640937 (diff)
downloadpostgresql-9173d759d209b5fb9cf834307bc549726226cb30.tar.gz
Modify distdir rule to skip .git directory.
Diffstat (limited to 'GNUmakefile.in')
-rw-r--r--GNUmakefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile.in b/GNUmakefile.in
index f5ef46adeb..56a42ada0f 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -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 =
@@ -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"; \