[pango] [git.mk] Fix bug with parallel make and subdirs
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] [git.mk] Fix bug with parallel make and subdirs
- Date: Sat, 13 Mar 2010 05:03:14 +0000 (UTC)
commit 6118d5891fee776a087855c335a73c79fdaf036c
Author: Behdad Esfahbod <behdad behdad org>
Date: Sat Mar 13 00:02:30 2010 -0500
[git.mk] Fix bug with parallel make and subdirs
git.mk | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/git.mk b/git.mk
index 088ef0b..5ab41ba 100644
--- a/git.mk
+++ b/git.mk
@@ -172,8 +172,11 @@ gitignore-recurse-maybe:
$(MAKE) $(AM_MAKEFLAGS) gitignore-recurse; \
fi;
gitignore-recurse:
- @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir"); \
+ @for subdir in $(DIST_SUBDIRS); do \
+ case " $(SUBDIRS) " in \
+ *" $$subdir "*) :;; \
+ *) test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse || echo "Skipping $$subdir");; \
+ esac; \
done
gitignore: $(srcdir)/.gitignore gitignore-recurse
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]