Skip to content
Snippets Groups Projects
Commit 2aafceb4 authored by Jean-Noël Avila's avatar Jean-Noël Avila
Browse files

Parallelize makefile across langs

parent f7e61aa3
No related branches found
No related tags found
No related merge requests found
...@@ -35,14 +35,20 @@ update-sources: ...@@ -35,14 +35,20 @@ update-sources:
define MAKE_TARGET define MAKE_TARGET
$(1)_$(2):
@echo $lang; cd $(2) && $(MAKE) -f ../makefile.locale $(1) lang=$(2)
$(1): po4a-stamp $(1): $(1)_$(2)
$(foreach lang,$(ALL_LANGUAGES),@echo $lang; cd $(lang) && $(MAKE) -f ../makefile.locale $(1) lang=$(lang))
.PHONY: $(1)_$(2)
endef endef
.PHONY: $(TARGETS)
man all html : po4a-stamp
$(foreach target, $(TARGETS), $(eval $(call MAKE_TARGET,$(target)))) $(foreach lang,$(ALL_LANGUAGES),$(foreach target, $(TARGETS), $(eval $(call MAKE_TARGET,$(target),$(lang)))))
mrproper: mrproper-local mrproper: mrproper-local
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment