summaryrefslogtreecommitdiff
path: root/tests/pr
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-25 18:58:07 +0000
committerJim Meyering <jim@meyering.net>2002-04-25 18:58:07 +0000
commit6576e2732140b1bb915e0aa64ff122f58d8b5a19 (patch)
tree722310f3055c49ea82c8a1bcc13568e2fdca6e1b /tests/pr
parentd29bfd529ebf1609424035ac8b887ac8cbaad11d (diff)
downloadcoreutils-6576e2732140b1bb915e0aa64ff122f58d8b5a19.tar.xz
.
Diffstat (limited to 'tests/pr')
-rw-r--r--tests/pr/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/pr/Makefile.in b/tests/pr/Makefile.in
index fb67d9351..1899d1e5e 100644
--- a/tests/pr/Makefile.in
+++ b/tests/pr/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
@@ -291,8 +291,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 \