aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-02 10:47:14 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-02 10:47:14 +0000
commit58989753085bec9f4f2f69204d954b16f6fd2454 (patch)
treece9c8463dc6c38c034df6260d55a6d845526102e /po
parentd06b4d6601ded968daf74f49fdd4b7c13a559e58 (diff)
downloadrpmdrake-58989753085bec9f4f2f69204d954b16f6fd2454.tar
rpmdrake-58989753085bec9f4f2f69204d954b16f6fd2454.tar.gz
rpmdrake-58989753085bec9f4f2f69204d954b16f6fd2454.tar.bz2
rpmdrake-58989753085bec9f4f2f69204d954b16f6fd2454.tar.xz
rpmdrake-58989753085bec9f4f2f69204d954b16f6fd2454.zip
Get rid of perl_checker
Diffstat (limited to 'po')
-rw-r--r--po/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/po/Makefile b/po/Makefile
index df151362..cdcea7d7 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -29,19 +29,21 @@ all: $(MOFILES)
merge: $(PGOAL).pot
@for n in $(POFILES); do \
echo "Merging $$n"; \
- msgmerge "$$n" $< > "$$n"t; \
+ msgmerge --width=79 "$$n" $< > "$$n"t; \
mv -f "$$n"t "$$n"; \
./get_from_compssusers.pl "$$n" > "$$n"m; \
done
$(PGOAL).pot: $(PL_FILES) $(CFILES)
INTLTOOL_EXTRACT=./intltool-extract ./intltool-update --gettext-package desktopstuff --pot
- perl_checker -q --generate-pot rpmdrake_tmp.pot $(PL_FILES)
+ xgettext -F -n --add-comments \
+ --keyword=N_ --keyword=N \
+ --language=Perl -o $(PGOAL)_tmp.pot $(PL_FILES)
xgettext -F -n --add-comments='-PO' \
--keyword=_ --keyword=__ --keyword=N_ --keyword=N \
- --language=C -o rpmdrake_tmp_c.pot $(CFILES)
- msgcat --use-first rpmdrake_tmp.pot rpmdrake_tmp_c.pot desktopstuff.pot > $@
- rm -f desktopstuff.pot rpmdrake_tmp.pot rpmdrake_tmp_c.pot
+ --language=C -o $(PGOAL)_tmp_c.pot $(CFILES)
+ msgcat --use-first $(PGOAL)_tmp.pot $(PGOAL)_tmp_c.pot desktopstuff.pot > $@
+ rm -f desktopstuff.pot $(PGOAL)_tmp.pot $(PGOAL)_tmp_c.pot
install:
for l in $(LANGS); do \
@@ -50,5 +52,5 @@ install:
done
clean:
- @rm -rf *.mo *.pof *.pog $(POFILES:%=%t) $(PL_CFILES) $(PGOAL).pot desktopstuff.pot rpmdrake_tmp.pot
+ @rm -rf *.mo *.pof *.pog $(POFILES:%=%t) $(PL_CFILES) $(PGOAL).pot desktopstuff.pot $(PGOAL)_tmp.pot