summaryrefslogtreecommitdiff
path: root/tests/wc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wc')
-rw-r--r--tests/wc/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wc/Makefile.in b/tests/wc/Makefile.in
index 5f66e3fc0..577ef9718 100644
--- a/tests/wc/Makefile.in
+++ b/tests/wc/Makefile.in
@@ -48,6 +48,7 @@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
+install_sh_DATA = $(install_sh) -c -m 644
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
@@ -218,7 +219,7 @@ distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
- if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
$(mkinstalldirs) "$(distdir)/$$dir"; \