Browse Source

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.

Arch Librarian 22 years ago
parent
commit
209836e2c1
1 changed files with 5 additions and 3 deletions
  1. 5 3
      po/makefile

+ 5 - 3
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: