aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-13 14:55:49 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-13 14:55:49 +0000
commit180c924bcab6c349f54ed4e861ec74af2cadbf3f (patch)
treef24a5d5bccb255d46f0da53f4aec52997f3549ad
parent6202af39e927546fe5503d5bd7a0b9a25c0a8997 (diff)
downloadpaludis-180c924bcab6c349f54ed4e861ec74af2cadbf3f.tar.gz
paludis-180c924bcab6c349f54ed4e861ec74af2cadbf3f.tar.xz
Fix distcheck.
-rw-r--r--Makefile.am5
-rw-r--r--bash-completion/Makefile.am8
-rw-r--r--doc/Makefile.am8
-rw-r--r--doc/examples/Makefile.am8
-rw-r--r--eselect/Makefile.am8
-rw-r--r--hooks/Makefile.am.m47
-rw-r--r--hooks/demos/Makefile.am8
-rw-r--r--misc/Makefile.am8
-rw-r--r--paludis/Makefile.am.m410
-rw-r--r--paludis/args/Makefile.am10
-rw-r--r--paludis/distributions/Makefile.am9
-rw-r--r--paludis/environments/Makefile.am9
-rw-r--r--paludis/environments/adapted/Makefile.am9
-rw-r--r--paludis/environments/no_config/Makefile.am8
-rw-r--r--paludis/environments/paludis/Makefile.am8
-rw-r--r--paludis/environments/portage/Makefile.am9
-rw-r--r--paludis/environments/test/Makefile.am9
-rw-r--r--paludis/fetchers/Makefile.am9
-rw-r--r--paludis/repositories/Makefile.am9
-rw-r--r--paludis/repositories/cran/Makefile.am9
-rw-r--r--paludis/repositories/cran/cran/Makefile.am9
-rw-r--r--paludis/repositories/e/Makefile.am9
-rw-r--r--paludis/repositories/e/eapis/Makefile.am9
-rw-r--r--paludis/repositories/e/ebuild/0/Makefile.am9
-rw-r--r--paludis/repositories/e/ebuild/Makefile.am9
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/Makefile.am9
-rw-r--r--paludis/repositories/e/ebuild/utils/Makefile.am9
-rw-r--r--paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am8
-rw-r--r--paludis/repositories/e/qa/Makefile.am9
-rw-r--r--paludis/repositories/fake/Makefile.am9
-rw-r--r--paludis/repositories/gems/Makefile.am9
-rw-r--r--paludis/repositories/unpackaged/Makefile.am9
-rw-r--r--paludis/repositories/virtuals/Makefile.am9
-rw-r--r--paludis/selinux/Makefile.am2
-rw-r--r--paludis/syncers/Makefile.am9
-rw-r--r--paludis/util/Makefile.am.m410
-rw-r--r--pkg-config/Makefile.am7
-rw-r--r--python/Makefile.am8
-rw-r--r--ruby/Makefile.am8
-rw-r--r--ruby/demos/Makefile.am9
-rw-r--r--src/Makefile.am8
-rw-r--r--src/clients/Makefile.am9
-rw-r--r--src/clients/accerso/Makefile.am9
-rw-r--r--src/clients/adjutrix/Makefile.am9
-rw-r--r--src/clients/contrarius/Makefile.am8
-rw-r--r--src/clients/gtkpaludis/Makefile.am9
-rw-r--r--src/clients/gtkpaludis/libgtkpaludis/Makefile.am8
-rw-r--r--src/clients/gtkpaludis/vtemm/Makefile.am9
-rw-r--r--src/clients/gtkpaludis/vtemm/converts/Makefile.am9
-rw-r--r--src/clients/gtkpaludis/vtemm/defs/Makefile.am9
-rw-r--r--src/clients/importare/Makefile.am9
-rw-r--r--src/clients/inquisitio/Makefile.am9
-rw-r--r--src/clients/instruo/Makefile.am9
-rw-r--r--src/clients/paludis/Makefile.am9
-rw-r--r--src/clients/qualudis/Makefile.am8
-rw-r--r--src/clients/reconcilio/Makefile.am9
-rw-r--r--src/clients/reconcilio/broken_linkage_finder/Makefile.am9
-rw-r--r--src/clients/reconcilio/littlelf/Makefile.am9
-rw-r--r--src/clients/reconcilio/util/Makefile.am9
-rw-r--r--src/output/Makefile.am7
-rw-r--r--test/Makefile.am9
-rw-r--r--vim/Makefile.am8
-rw-r--r--vim/ftdetect/Makefile.am9
-rw-r--r--vim/syntax/Makefile.am9
-rw-r--r--zsh-completion/Makefile.am9
65 files changed, 323 insertions, 232 deletions
diff --git a/Makefile.am b/Makefile.am
index 700543e..abfd049 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,7 +18,7 @@ automake-deps-built-hack.tmp : built-sources-subdirs
BUILT_SOURCES = automake-deps-built-hack.tmp
-automake-deps-dist-hack.tmp : built-sources-subdirs distcheck-deps-subdirs
+automake-deps-dist-hack.tmp : distcheck-deps-subdirs
touch $@
dist-hook :
@@ -45,7 +45,6 @@ built-sources-subdirs :
distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
-distcheck-deps-subdirs :
+distcheck-deps-subdirs : built-sources-subdirs
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
-
diff --git a/bash-completion/Makefile.am b/bash-completion/Makefile.am
index a26d481..e05fc1e 100644
--- a/bash-completion/Makefile.am
+++ b/bash-completion/Makefile.am
@@ -7,9 +7,11 @@ 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-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a913802..f5ee32d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -332,9 +332,11 @@ upload-homepage-real :
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 6773fdc..238fc6c 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -177,8 +177,10 @@ example_name_LDFLAGS = \
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/eselect/Makefile.am b/eselect/Makefile.am
index 2cf79d8..2cc1c3e 100644
--- a/eselect/Makefile.am
+++ b/eselect/Makefile.am
@@ -24,9 +24,11 @@ check_PROGRAMS =
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/hooks/Makefile.am.m4 b/hooks/Makefile.am.m4
index 6a63024..b92344e 100644
--- a/hooks/Makefile.am.m4
+++ b/hooks/Makefile.am.m4
@@ -272,10 +272,13 @@ changequote(`<', `>')
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(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
+ 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
TESTS_ENVIRONMENT = env \
TEST_SCRIPT_DIR="$(srcdir)/" \
diff --git a/hooks/demos/Makefile.am b/hooks/demos/Makefile.am
index 594aa56..ecc9382 100644
--- a/hooks/demos/Makefile.am
+++ b/hooks/demos/Makefile.am
@@ -28,9 +28,11 @@ elog.bash : $(srcdir)/elog.bash.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/misc/Makefile.am b/misc/Makefile.am
index 1e031ec..a596654 100644
--- a/misc/Makefile.am
+++ b/misc/Makefile.am
@@ -5,8 +5,10 @@ EXTRA_DIST = generated-file.txt do_m4.bash make_sr.bash make_se.bash
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-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/paludis/Makefile.am.m4 b/paludis/Makefile.am.m4
index 4ef0ccb..ca63f7d 100644
--- a/paludis/Makefile.am.m4
+++ b/paludis/Makefile.am.m4
@@ -176,13 +176,15 @@ changequote(`<', `>')
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-DISTCHECK_DEPS = libpaludis.la
+DISTCHECK_DEPS = libpaludis.la libpaludismanpagethings.la
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
TESTS_ENVIRONMENT = env \
PALUDIS_EBUILD_DIR="$(top_srcdir)/paludis/repositories/e/ebuild/" \
diff --git a/paludis/args/Makefile.am b/paludis/args/Makefile.am
index 953353f..0615578 100644
--- a/paludis/args/Makefile.am
+++ b/paludis/args/Makefile.am
@@ -72,11 +72,13 @@ args_TEST_LDADD = $(test_ldadd)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-DISTCHECK_DEPS = libpaludisargs.la
+DISTCHECK_DEPS = libpaludisargs.la libpaludisman.a
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/paludis/distributions/Makefile.am b/paludis/distributions/Makefile.am
index 20364bd..44faedc 100644
--- a/paludis/distributions/Makefile.am
+++ b/paludis/distributions/Makefile.am
@@ -14,9 +14,10 @@ EXTRA_DIST = $(distributions)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/environments/Makefile.am b/paludis/environments/Makefile.am
index 261f1a5..b060e11 100644
--- a/paludis/environments/Makefile.am
+++ b/paludis/environments/Makefile.am
@@ -14,9 +14,10 @@ DEFS= \
-DDATADIR=\"$(datadir)\" \
-DLIBDIR=\"$(libdir)\"
-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
diff --git a/paludis/environments/adapted/Makefile.am b/paludis/environments/adapted/Makefile.am
index a653639..c99ecff 100644
--- a/paludis/environments/adapted/Makefile.am
+++ b/paludis/environments/adapted/Makefile.am
@@ -56,9 +56,10 @@ BUILT_SOURCES =
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
diff --git a/paludis/environments/no_config/Makefile.am b/paludis/environments/no_config/Makefile.am
index 576a12e..e9706aa 100644
--- a/paludis/environments/no_config/Makefile.am
+++ b/paludis/environments/no_config/Makefile.am
@@ -83,9 +83,11 @@ no_config_environment-sr.cc : no_config_environment.sr $(top_srcdir)/misc/make_s
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-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/paludis/environments/paludis/Makefile.am b/paludis/environments/paludis/Makefile.am
index bd79254..aa39e76 100644
--- a/paludis/environments/paludis/Makefile.am
+++ b/paludis/environments/paludis/Makefile.am
@@ -119,8 +119,10 @@ repository_config_entry-sr.hh : repository_config_entry.sr $(top_srcdir)/misc/ma
repository_config_entry-sr.cc : repository_config_entry.sr $(top_srcdir)/misc/make_sr.bash
$(top_srcdir)/misc/make_sr.bash --source $(srcdir)/repository_config_entry.sr > $@
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/paludis/environments/portage/Makefile.am b/paludis/environments/portage/Makefile.am
index 3fb0bd7..446b9db 100644
--- a/paludis/environments/portage/Makefile.am
+++ b/paludis/environments/portage/Makefile.am
@@ -65,9 +65,10 @@ check_SCRIPTS = portage_environment_TEST_setup.sh portage_environment_TEST_clean
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/environments/test/Makefile.am b/paludis/environments/test/Makefile.am
index abced5f..6693515 100644
--- a/paludis/environments/test/Makefile.am
+++ b/paludis/environments/test/Makefile.am
@@ -37,9 +37,10 @@ paludis_environment_test_include_HEADERS = test_environment.hh
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/fetchers/Makefile.am b/paludis/fetchers/Makefile.am
index d82913c..65b44af 100644
--- a/paludis/fetchers/Makefile.am
+++ b/paludis/fetchers/Makefile.am
@@ -36,9 +36,10 @@ dohttp dohttps doftp : dowget.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/Makefile.am b/paludis/repositories/Makefile.am
index dd5e60d..368da7c 100644
--- a/paludis/repositories/Makefile.am
+++ b/paludis/repositories/Makefile.am
@@ -23,9 +23,10 @@ DEFS= \
-DDATADIR=\"$(datadir)\" \
-DLIBDIR=\"$(libdir)\"
-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
diff --git a/paludis/repositories/cran/Makefile.am b/paludis/repositories/cran/Makefile.am
index e2e21b1..20083e0 100644
--- a/paludis/repositories/cran/Makefile.am
+++ b/paludis/repositories/cran/Makefile.am
@@ -151,9 +151,10 @@ cran_installed_repository-sr.cc : cran_installed_repository.sr $(top_srcdir)/mis
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/cran/cran/Makefile.am b/paludis/repositories/cran/cran/Makefile.am
index 8f44585..2c9702d 100644
--- a/paludis/repositories/cran/cran/Makefile.am
+++ b/paludis/repositories/cran/cran/Makefile.am
@@ -12,9 +12,10 @@ EXTRA_DIST = $(libexecprog_SCRIPTS)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/Makefile.am b/paludis/repositories/e/Makefile.am
index 61f69c6..14029b2 100644
--- a/paludis/repositories/e/Makefile.am
+++ b/paludis/repositories/e/Makefile.am
@@ -512,9 +512,10 @@ check_PROGRAMS = $(TESTS)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/eapis/Makefile.am b/paludis/repositories/e/eapis/Makefile.am
index 44fa3ac..454e3db 100644
--- a/paludis/repositories/e/eapis/Makefile.am
+++ b/paludis/repositories/e/eapis/Makefile.am
@@ -16,9 +16,10 @@ EXTRA_DIST = $(eapis)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/ebuild/0/Makefile.am b/paludis/repositories/e/ebuild/0/Makefile.am
index 1e4b9be..65d5c12 100644
--- a/paludis/repositories/e/ebuild/0/Makefile.am
+++ b/paludis/repositories/e/ebuild/0/Makefile.am
@@ -24,9 +24,10 @@ EXTRA_DIST = $(libexecprog_SCRIPTS)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/ebuild/Makefile.am b/paludis/repositories/e/ebuild/Makefile.am
index 55c387c..1a1a097 100644
--- a/paludis/repositories/e/ebuild/Makefile.am
+++ b/paludis/repositories/e/ebuild/Makefile.am
@@ -64,9 +64,10 @@ EXTRA_DIST = $(libexecprog_SCRIPTS) run_test.bash $(TESTS) $(check_SCRIPTS)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/ebuild/exheres-0/Makefile.am b/paludis/repositories/e/ebuild/exheres-0/Makefile.am
index 2d90bfa..49fb54f 100644
--- a/paludis/repositories/e/ebuild/exheres-0/Makefile.am
+++ b/paludis/repositories/e/ebuild/exheres-0/Makefile.am
@@ -29,9 +29,10 @@ EXTRA_DIST = $(libexecprogexheres_SCRIPTS)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/ebuild/utils/Makefile.am b/paludis/repositories/e/ebuild/utils/Makefile.am
index 620bbe7..2e14541 100644
--- a/paludis/repositories/e/ebuild/utils/Makefile.am
+++ b/paludis/repositories/e/ebuild/utils/Makefile.am
@@ -92,9 +92,10 @@ check_PROGRAMS =
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am b/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am
index 5c08563..f904a53 100644
--- a/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/Makefile.am
@@ -51,9 +51,11 @@ check_PROGRAMS =
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/paludis/repositories/e/qa/Makefile.am b/paludis/repositories/e/qa/Makefile.am
index 7bed441..1140e74 100644
--- a/paludis/repositories/e/qa/Makefile.am
+++ b/paludis/repositories/e/qa/Makefile.am
@@ -145,9 +145,10 @@ endif
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/fake/Makefile.am b/paludis/repositories/fake/Makefile.am
index 2e10f5f..aed0cb7 100644
--- a/paludis/repositories/fake/Makefile.am
+++ b/paludis/repositories/fake/Makefile.am
@@ -78,9 +78,10 @@ paludis_repositories_fake_include_HEADERS = \
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/repositories/gems/Makefile.am b/paludis/repositories/gems/Makefile.am
index cdce4be..75a73c6 100644
--- a/paludis/repositories/gems/Makefile.am
+++ b/paludis/repositories/gems/Makefile.am
@@ -147,9 +147,10 @@ params-sr.hh : params.sr $(top_srcdir)/misc/make_sr.bash
params-sr.cc : params.sr $(top_srcdir)/misc/make_sr.bash
if ! $(top_srcdir)/misc/make_sr.bash --source $(srcdir)/params.sr > $@ ; then rm -f $@ ; exit 1 ; fi
-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
diff --git a/paludis/repositories/unpackaged/Makefile.am b/paludis/repositories/unpackaged/Makefile.am
index 6f66d2a..8a9280b 100644
--- a/paludis/repositories/unpackaged/Makefile.am
+++ b/paludis/repositories/unpackaged/Makefile.am
@@ -167,9 +167,10 @@ installed_unpackaged_repository-sr.hh : installed_unpackaged_repository.sr $(top
installed_unpackaged_repository-sr.cc : installed_unpackaged_repository.sr $(top_srcdir)/misc/make_sr.bash
if ! $(top_srcdir)/misc/make_sr.bash --source $(srcdir)/installed_unpackaged_repository.sr > $@ ; then rm -f $@ ; exit 1 ; fi
-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
diff --git a/paludis/repositories/virtuals/Makefile.am b/paludis/repositories/virtuals/Makefile.am
index bff2504..f04a6c0 100644
--- a/paludis/repositories/virtuals/Makefile.am
+++ b/paludis/repositories/virtuals/Makefile.am
@@ -92,9 +92,10 @@ installed_virtuals_repository_TEST_SOURCES = \
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/selinux/Makefile.am b/paludis/selinux/Makefile.am
index 14e9cc5..2a0ebf4 100644
--- a/paludis/selinux/Makefile.am
+++ b/paludis/selinux/Makefile.am
@@ -41,6 +41,8 @@ AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_VISIBILITY@
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
+DISTCHECK_DEPS = libpaludisselinux.la
+
distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
distcheck-deps-subdirs :
diff --git a/paludis/syncers/Makefile.am b/paludis/syncers/Makefile.am
index 73e01d6..dc7ee61 100644
--- a/paludis/syncers/Makefile.am
+++ b/paludis/syncers/Makefile.am
@@ -59,9 +59,10 @@ dotar+file dotar+ftp dotar+http : dotar.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/paludis/util/Makefile.am.m4 b/paludis/util/Makefile.am.m4
index 7453c92..be38dd5 100644
--- a/paludis/util/Makefile.am.m4
+++ b/paludis/util/Makefile.am.m4
@@ -110,8 +110,12 @@ changequote(`<', `>')
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+DISTCHECK_DEPS = libpaludisutil.la
-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
diff --git a/pkg-config/Makefile.am b/pkg-config/Makefile.am
index 33e5642..d6ad763 100644
--- a/pkg-config/Makefile.am
+++ b/pkg-config/Makefile.am
@@ -7,10 +7,13 @@ CLEANFILES = paludis.pc
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-local : $(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
+ 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
paludis.pc : paludis.pc.in Makefile
sed \
diff --git a/python/Makefile.am b/python/Makefile.am
index b45fbe9..3b8884c 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -210,8 +210,10 @@ nice_names-nn.cc : nice_names.nn $(top_srcdir)/misc/make_nn.bash
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/ruby/Makefile.am b/ruby/Makefile.am
index d76207a..ee4026f 100644
--- a/ruby/Makefile.am
+++ b/ruby/Makefile.am
@@ -150,8 +150,10 @@ endif
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/ruby/demos/Makefile.am b/ruby/demos/Makefile.am
index 8ecb238..b2fdc21 100644
--- a/ruby/demos/Makefile.am
+++ b/ruby/demos/Makefile.am
@@ -47,9 +47,10 @@ endif
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/Makefile.am b/src/Makefile.am
index 63b356e..43c3219 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,8 +6,10 @@ MAINTAINERCLEANFILES = Makefile.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/src/clients/Makefile.am b/src/clients/Makefile.am
index 5191743..9eaebff 100644
--- a/src/clients/Makefile.am
+++ b/src/clients/Makefile.am
@@ -9,9 +9,10 @@ AM_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src @PALUDIS_CXXFLAGS@ @PALUDIS_CX
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
-
-distcheck-deps-subdirs :
- for s in `echo $(DIST_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
diff --git a/src/clients/accerso/Makefile.am b/src/clients/accerso/Makefile.am
index 8376aa8..caf191f 100644
--- a/src/clients/accerso/Makefile.am
+++ b/src/clients/accerso/Makefile.am
@@ -79,9 +79,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = accerso.1 accerso.html
-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
diff --git a/src/clients/adjutrix/Makefile.am b/src/clients/adjutrix/Makefile.am
index dd5d4d4..ac7f091 100644
--- a/src/clients/adjutrix/Makefile.am
+++ b/src/clients/adjutrix/Makefile.am
@@ -114,9 +114,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = adjutrix.1 adjutrix.html
-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
diff --git a/src/clients/contrarius/Makefile.am b/src/clients/contrarius/Makefile.am
index 6c4679d..7369949 100644
--- a/src/clients/contrarius/Makefile.am
+++ b/src/clients/contrarius/Makefile.am
@@ -97,8 +97,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = contrarius.1 contrarius.html
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/src/clients/gtkpaludis/Makefile.am b/src/clients/gtkpaludis/Makefile.am
index 518d8f8..684b4f5 100644
--- a/src/clients/gtkpaludis/Makefile.am
+++ b/src/clients/gtkpaludis/Makefile.am
@@ -24,9 +24,10 @@ gtkpaludis_LDADD = \
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/clients/gtkpaludis/libgtkpaludis/Makefile.am b/src/clients/gtkpaludis/libgtkpaludis/Makefile.am
index 26750c0..07fe2a3 100644
--- a/src/clients/gtkpaludis/libgtkpaludis/Makefile.am
+++ b/src/clients/gtkpaludis/libgtkpaludis/Makefile.am
@@ -56,8 +56,10 @@ AM_CXXFLAGS = @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_VISIBILITY@ -I$(top_srcdir)/s
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/src/clients/gtkpaludis/vtemm/Makefile.am b/src/clients/gtkpaludis/vtemm/Makefile.am
index 9fc0ff6..5b63a6f 100644
--- a/src/clients/gtkpaludis/vtemm/Makefile.am
+++ b/src/clients/gtkpaludis/vtemm/Makefile.am
@@ -69,9 +69,10 @@ MAINTAINERCLEANFILES = Makefile.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/clients/gtkpaludis/vtemm/converts/Makefile.am b/src/clients/gtkpaludis/vtemm/converts/Makefile.am
index 6f0355a..09447d2 100644
--- a/src/clients/gtkpaludis/vtemm/converts/Makefile.am
+++ b/src/clients/gtkpaludis/vtemm/converts/Makefile.am
@@ -6,9 +6,10 @@ EXTRA_DIST = $(noinst_DATA)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/clients/gtkpaludis/vtemm/defs/Makefile.am b/src/clients/gtkpaludis/vtemm/defs/Makefile.am
index ba3448d..3ad7047 100644
--- a/src/clients/gtkpaludis/vtemm/defs/Makefile.am
+++ b/src/clients/gtkpaludis/vtemm/defs/Makefile.am
@@ -48,9 +48,10 @@ EXTRA_DIST = enum.pl generate_defs_vte.cc
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/clients/importare/Makefile.am b/src/clients/importare/Makefile.am
index 8cfa7d8..05f83c1 100644
--- a/src/clients/importare/Makefile.am
+++ b/src/clients/importare/Makefile.am
@@ -73,9 +73,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = importare.1 importare.html
-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
diff --git a/src/clients/inquisitio/Makefile.am b/src/clients/inquisitio/Makefile.am
index 2bee7ff..6671760 100644
--- a/src/clients/inquisitio/Makefile.am
+++ b/src/clients/inquisitio/Makefile.am
@@ -82,9 +82,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = inquisitio.1 inquisitio.html
-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
diff --git a/src/clients/instruo/Makefile.am b/src/clients/instruo/Makefile.am
index c86ad11..e5cbd97 100644
--- a/src/clients/instruo/Makefile.am
+++ b/src/clients/instruo/Makefile.am
@@ -79,9 +79,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = instruo.1 instruo.html
-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
diff --git a/src/clients/paludis/Makefile.am b/src/clients/paludis/Makefile.am
index 63cb484..9139b23 100644
--- a/src/clients/paludis/Makefile.am
+++ b/src/clients/paludis/Makefile.am
@@ -94,9 +94,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = paludis.1 paludis.html
-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
diff --git a/src/clients/qualudis/Makefile.am b/src/clients/qualudis/Makefile.am
index 33f1436..ee0d03b 100644
--- a/src/clients/qualudis/Makefile.am
+++ b/src/clients/qualudis/Makefile.am
@@ -74,9 +74,11 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = qualudis.1 qualudis.html
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/src/clients/reconcilio/Makefile.am b/src/clients/reconcilio/Makefile.am
index 38f05d1..80d2402 100644
--- a/src/clients/reconcilio/Makefile.am
+++ b/src/clients/reconcilio/Makefile.am
@@ -93,9 +93,10 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = reconcilio.1 reconcilio.html
-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
diff --git a/src/clients/reconcilio/broken_linkage_finder/Makefile.am b/src/clients/reconcilio/broken_linkage_finder/Makefile.am
index ba92240..e44c691 100644
--- a/src/clients/reconcilio/broken_linkage_finder/Makefile.am
+++ b/src/clients/reconcilio/broken_linkage_finder/Makefile.am
@@ -37,9 +37,10 @@ MAINTAINERCLEANFILES = Makefile.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/clients/reconcilio/littlelf/Makefile.am b/src/clients/reconcilio/littlelf/Makefile.am
index 8bcb363..fde603f 100644
--- a/src/clients/reconcilio/littlelf/Makefile.am
+++ b/src/clients/reconcilio/littlelf/Makefile.am
@@ -29,9 +29,10 @@ MAINTAINERCLEANFILES = Makefile.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/clients/reconcilio/util/Makefile.am b/src/clients/reconcilio/util/Makefile.am
index 31f28b5..d57f4ce 100644
--- a/src/clients/reconcilio/util/Makefile.am
+++ b/src/clients/reconcilio/util/Makefile.am
@@ -48,9 +48,10 @@ MAINTAINERCLEANFILES = Makefile.in
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/src/output/Makefile.am b/src/output/Makefile.am
index 6b9a45c..b3d0239 100644
--- a/src/output/Makefile.am
+++ b/src/output/Makefile.am
@@ -20,10 +20,13 @@ built-sources : $(BUILT_SOURCES)
DISTCHECK_DEPS = liboutput.a
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(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
+ 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
console_install_task-sr.hh : console_install_task.sr $(top_srcdir)/misc/make_sr.bash
$(top_srcdir)/misc/make_sr.bash --header $(srcdir)/console_install_task.sr > $@
diff --git a/test/Makefile.am b/test/Makefile.am
index 546c47e..16e21f8 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -30,9 +30,10 @@ test_fail_TEST_LDADD = libtest.a
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
diff --git a/vim/Makefile.am b/vim/Makefile.am
index 6079f7f..d464f07 100644
--- a/vim/Makefile.am
+++ b/vim/Makefile.am
@@ -5,8 +5,10 @@ SUBDIRS = ftdetect syntax
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-distcheck-deps : $(DISTCHECK_DEPS) distcheck-deps-subdirs
+distcheck-deps-local : $(DISTCHECK_DEPS)
-distcheck-deps-subdirs :
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s distcheck-deps || exit 1 ; done
+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
diff --git a/vim/ftdetect/Makefile.am b/vim/ftdetect/Makefile.am
index 540359b..23b5a27 100644
--- a/vim/ftdetect/Makefile.am
+++ b/vim/ftdetect/Makefile.am
@@ -18,9 +18,10 @@ EXTRA_DIST = $(vimscripts)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/vim/syntax/Makefile.am b/vim/syntax/Makefile.am
index ba8c0dc..2c95f50 100644
--- a/vim/syntax/Makefile.am
+++ b/vim/syntax/Makefile.am
@@ -25,9 +25,10 @@ EXTRA_DIST = $(vimscripts)
built-sources : $(BUILT_SOURCES)
for s in `echo $(SUBDIRS) | tr -d .` ; 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
diff --git a/zsh-completion/Makefile.am b/zsh-completion/Makefile.am
index 2e44bed..f53157f 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