summaryrefslogtreecommitdiff
path: root/tests/basename
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-25 18:58:39 +0000
committerJim Meyering <jim@meyering.net>2002-04-25 18:58:39 +0000
commite94bd403485efa4232685fe50a45e2b8797ae75f (patch)
tree74e2ca4ebfa8b953c11bc20cd72f5e65309a38ea /tests/basename
parent6576e2732140b1bb915e0aa64ff122f58d8b5a19 (diff)
downloadcoreutils-e94bd403485efa4232685fe50a45e2b8797ae75f.tar.xz
.
Diffstat (limited to 'tests/basename')
-rw-r--r--tests/basename/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/basename/Makefile.in b/tests/basename/Makefile.in
index ba389c389..fb864970d 100644
--- a/tests/basename/Makefile.in
+++ b/tests/basename/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
@@ -217,8 +217,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 \