From 209836e2c1ad9618735a2db8806657c5207e166f Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:59:44 +0000 Subject: Don't run the targets in po in parallel. This allows u... Author: doogie Date: 2002-11-09 20:12:37 GMT Don't run the targets in po in parallel. This allows us to not echo a new line after the Generating bit, so everything appears on a single line. --- po/makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/po/makefile b/po/makefile index 4185d93e0..d50b84da8 100644 --- a/po/makefile +++ b/po/makefile @@ -27,7 +27,7 @@ GETDOMAIN = $(filter $(DOMAINS),$(subst /, ,$(1))) # Generate the list of files from the bits the other make files dropped # and produce the .pot file. $(POTFILES) : $(PO)/%.pot : - echo Generating POT file $@ + printf "%s " "Generating POT file $@" echo $@ : $(wildcard $(PO)/domains/$*/*.*list) $(addprefix $(BASE)/,$(shell cat $(wildcard $(PO)/domains/$*/*.srclist))) > $@.d # From sh source cat $(PO)/domains/$*/*.shlist 2> /dev/null | (cd $(BASE) && xargs -n1 bash --dump-po-strings) > $(PO)/domains/$*/sh.pot @@ -47,12 +47,12 @@ $(PO)/$(PACKAGE)-all.pot: $(POTFILES) # We cannot express the dependencies required for this directly with a pattern # rule, so we use the .d hack. $(LANG_POFILES) : %.po : $(PO)/$(PACKAGE)-all.pot - echo Generating $@ + printf "%s " "Generating $@" echo $@ : $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot > $(PO)/$(call GETDOMAIN,$*)_$(notdir $@).d $(MSGMERGE) $(notdir $@) $(PO)/$(call GETDOMAIN,$*).pot -o $@ $(MOFILES) : %.mo : %.po - echo Generating $(LOCALE)/$(notdir $*)/LC_MESSAGES/$(call GETDOMAIN,$*).mo + printf "%s: " "Generating $(LOCALE)/$(notdir $*)/LC_MESSAGES/$(call GETDOMAIN,$*).mo" $(GMSGFMT) --statistics -o $@ $< mkdir -p $(LOCALE)/$(notdir $*)/LC_MESSAGES/ cp $@ $(LOCALE)/$(notdir $*)/LC_MESSAGES/$(call GETDOMAIN,$*).mo @@ -68,3 +68,5 @@ The_DFiles = $(wildcard $(PO)/*.d) ifneq ($(words $(The_DFiles)),0) include $(The_DFiles) endif + +.NOTPARALLEL: -- cgit v1.2.3