Bug 938956 - Add a generic recursion rule. r=gps

Use by running:
  make -C objdir recurse RECURSED_COMMAND="command_to_run in_each_subdirectory"
This commit is contained in:
Mike Hommey 2013-11-16 13:40:53 +09:00
parent 89522e92e0
commit 3f865998c5
2 changed files with 12 additions and 0 deletions

View File

@ -235,3 +235,9 @@ endif
endif
endif # ifdef MOZ_PSEUDO_DERECURSE
recurse:
@$(RECURSED_COMMAND)
$(LOOP_OVER_PARALLEL_DIRS)
$(LOOP_OVER_DIRS)
$(LOOP_OVER_TOOL_DIRS)

View File

@ -235,3 +235,9 @@ endif
endif
endif # ifdef MOZ_PSEUDO_DERECURSE
recurse:
@$(RECURSED_COMMAND)
$(LOOP_OVER_PARALLEL_DIRS)
$(LOOP_OVER_DIRS)
$(LOOP_OVER_TOOL_DIRS)