summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 11:00:41 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 11:00:41 +0000
commitf0492b5054bcf1d8c31e0a4bfbf521334bcd7326 (patch)
tree2bdb1ca622cbb6c49cbda0f943934b1ed5108138
parent505add1db463be3d0172f29594f1547a00fa527d (diff)
downloadbootloader-theme-f0492b5054bcf1d8c31e0a4bfbf521334bcd7326.tar
bootloader-theme-f0492b5054bcf1d8c31e0a4bfbf521334bcd7326.tar.gz
bootloader-theme-f0492b5054bcf1d8c31e0a4bfbf521334bcd7326.tar.bz2
bootloader-theme-f0492b5054bcf1d8c31e0a4bfbf521334bcd7326.tar.xz
bootloader-theme-f0492b5054bcf1d8c31e0a4bfbf521334bcd7326.zip
introduce PGOAL
-rw-r--r--po/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/po/Makefile b/po/Makefile
index 06ade36..8e25445 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -1,5 +1,6 @@
POFILES = $(wildcard *.po)
TEXTS = $(addsuffix .tr,$(basename $(wildcard *.po)))
+PGOAL: bootloader
PRODUCT ?= "SUSE Linux 10.1"
@@ -10,21 +11,21 @@ all: text.inc $(TEXTS)
# to ensure that
%.tr: %.po text.inc
msgfmt $< -o - | msgunfmt | \
- msgmerge --no-fuzzy-matching - bootloader.pot > tmpfile.po && \
+ msgmerge --no-fuzzy-matching - $(PGOAL).pot > tmpfile.po && \
bin/po2txt --product=$(PRODUCT) tmpfile.po >$@
echo rm -f tmpfile.po
-# en.tr uses msgids from bootloader.pot
-en.tr text.inc: bootloader.pot
+# en.tr uses msgids from $(PGOAL).pot
+en.tr text.inc: $(PGOAL).pot
bin/po2txt --product=$(PRODUCT) $< >en.tr
clean:
rm -f text.inc *.tr *~
-merge: bootloader.pot
+merge: $(PGOAL).pot
for n in *.po; do \
echo "Merging $$n"; \
- msgmerge -C $$n $$n bootloader.pot > "$$n"t ; \
+ msgmerge -C $$n $$n $(PGOAL).pot > "$$n"t ; \
mv -f "$$n"t $$n ; \
done