[git.mk] Recurse in DIST_SUBDIRS too
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 4 May 2009 00:25:33 +0000 (20:25 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 4 May 2009 00:25:33 +0000 (20:25 -0400)
git.mk

diff --git a/git.mk b/git.mk
index 739ba92..b9b077f 100644 (file)
--- a/git.mk
+++ b/git.mk
@@ -168,7 +168,7 @@ all: $(srcdir)/.gitignore gitignore-recurse
 gitignore-recurse:
        @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); \
+                 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) .gitignore gitignore-recurse); \
                done; \
        fi;
 maintainer-clean: gitignore-clean