aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/Makefile.am
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 /paludis/environments/paludis/Makefile.am
parent6202af39e927546fe5503d5bd7a0b9a25c0a8997 (diff)
downloadpaludis-180c924bcab6c349f54ed4e861ec74af2cadbf3f.tar.gz
paludis-180c924bcab6c349f54ed4e861ec74af2cadbf3f.tar.xz
Fix distcheck.
Diffstat (limited to 'paludis/environments/paludis/Makefile.am')
-rw-r--r--paludis/environments/paludis/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/paludis/environments/paludis/Makefile.am b/paludis/environments/paludis/Makefile.am
index bd792544f..aa39e7634 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