From 58989753085bec9f4f2f69204d954b16f6fd2454 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 2 Mar 2006 10:47:14 +0000 Subject: Get rid of perl_checker --- po/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'po/Makefile') 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 -- cgit v1.2.1