summaryrefslogtreecommitdiff
path: root/po/makefile
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:59:44 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:59:44 +0000
commit209836e2c1ad9618735a2db8806657c5207e166f (patch)
treee53c85650d4fb3cd398d2e9f0b92186247e6578b /po/makefile
parenta716bf26bee3111cce6ec98b850f052f5242a9ae (diff)
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.
Diffstat (limited to 'po/makefile')
-rw-r--r--po/makefile8
1 files 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: