[svn] Exclude .svn/* from distribution.

This commit is contained in:
micah 2007-08-22 22:03:23 -07:00
parent ae6b79c855
commit 36fc2d6d66
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-08-22 Micah Cowan <micah@cowan.name>
* Makefile.in: Exclude .svn directories and below from
distribution.
2007-08-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/wget.m4 (WGET_PROCESS_PO, AM_PATH_PROG_WITH_TEST): Add

View File

@ -116,7 +116,7 @@ TAGS:
dist: $(srcdir)/configure DISTFILES
mkdir $(DISTNAME)
for d in `$(FIND) . -type d ! -name CVS -a ! -name RCS -print`; do \
for d in `$(FIND) . -type d ! -regex '.*/\.svn\(/.*\)?' -print`; do \
if [ "$$d" != "." -a "$$d" != "./$(DISTNAME)" ]; then \
mkdir $(DISTNAME)/$$d; \
fi; \
@ -133,7 +133,7 @@ dist: $(srcdir)/configure DISTFILES
DISTFILES: FORCE
rm -rf $(DISTNAME)
(cd $(srcdir); find . ! -type d -print) \
| sed '/\/\(CVS\|RCS\)\//d; /$@/d; /\.tar.*/d; s/^.\///; /^\.$$/d;' \
| sed '/\/\.svn\//d; /$@/d; /\.tar.*/d; s/^.\///; /^\.$$/d;' \
| sort | uniq > $@
#