diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-05-03 20:29:17 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-05-03 20:29:17 -0400 |
commit | 967e4eb92e3b7ce2bd92f18a84ecdc3f8bb39ed3 (patch) | |
tree | 50b31b9e5f7a4d503b934f7f2641ff514934f4df | |
parent | f7c76896afc0f34db01a039933ee64ddc23bc3ab (diff) | |
download | pango-967e4eb92e3b7ce2bd92f18a84ecdc3f8bb39ed3.tar.gz |
[git.mk] Fix DEST_SUBDIR recursion
-rw-r--r-- | git.mk | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -164,15 +164,16 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk LANG=C sort | uniq > $@.tmp && \ mv $@.tmp $@; -all: $(srcdir)/.gitignore gitignore-recurse -gitignore-recurse: +all: $(srcdir)/.gitignore gitignore-recurse-maybe +gitignore-recurse-maybe: @if test "x$(SUBDIRS)" = "x$(DIST_SUBDIRS)"; then :; else \ - list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ - test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse); \ - done; \ + $(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); \ + done maintainer-clean: gitignore-clean gitignore-clean: -rm -f $(srcdir)/.gitignore -.PHONY: gitignore-clean gitignore-recurse - +.PHONY: gitignore-clean gitignore-recurse gitignore-recurse-maybe |