Don't run the targets in po in parallel. This allows u...
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:44 +0000 (16:59 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:44 +0000 (16:59 +0000)
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

index 4185d93..d50b84d 100644 (file)
@@ -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: