summaryrefslogtreecommitdiff
path: root/tests/dircolors
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-12 10:46:55 +0000
committerJim Meyering <jim@meyering.net>2002-04-12 10:46:55 +0000
commit5771d0193b75cdb0d22c2c32278a711e2bfde5fd (patch)
treefef185f41025a7b3a65c06d26d630e4a1200044c /tests/dircolors
parentf52a204a4e5d1e0f5248e7ac464157e3d4882b15 (diff)
downloadcoreutils-5771d0193b75cdb0d22c2c32278a711e2bfde5fd.tar.xz
.
Diffstat (limited to 'tests/dircolors')
-rw-r--r--tests/dircolors/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/dircolors/Makefile.in b/tests/dircolors/Makefile.in
index 27415ca48..ed036bb5f 100644
--- a/tests/dircolors/Makefile.in
+++ b/tests/dircolors/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.6 from Makefile.am.
+# Makefile.in generated by automake 1.6.1 from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -218,8 +218,10 @@ distdir: $(DISTFILES)
dir=''; \
fi; \
if test -d $$d/$$file; then \
- cp -pR $$d/$$file $(distdir)$$dir \
- || exit 1; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \