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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy