aboutsummaryrefslogtreecommitdiff
path: root/zsh-completion/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'zsh-completion/Makefile.am')
-rw-r--r--zsh-completion/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/zsh-completion/Makefile.am b/zsh-completion/Makefile.am
index 2e44bed75..f53157f07 100644
--- a/zsh-completion/Makefile.am
+++ b/zsh-completion/Makefile.am
@@ -5,9 +5,10 @@ EXTRA_DIST = $(noinst_DATA)
built-sources : $(BUILT_SOURCES)
for s in $(SUBDIRS) ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
-
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+distcheck-deps-local : $(DISTCHECK_DEPS)
+distcheck-deps : distcheck-deps-subdirs
+distcheck-deps-subdirs :
+ for s in $(SUBDIRS) . ; do if test x$$s = x. ; then make distcheck-deps-local || exit 1 ; \
+ else $(MAKE) -C $$s distcheck-deps || exit 1 ; fi ; done