diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-06 14:48:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-06 14:48:47 +0000 |
commit | ce92ed21bc5fec8ec0607f402688060d520aeb28 (patch) | |
tree | d780b6cd4ddb585c57f64898520437d19f5c0ab0 /po/Makefile | |
parent | 3f06e0f615dcffa78ed8b4408aae7a6128d0cb65 (diff) | |
download | rpmdrake-ce92ed21bc5fec8ec0607f402688060d520aeb28.tar rpmdrake-ce92ed21bc5fec8ec0607f402688060d520aeb28.tar.gz rpmdrake-ce92ed21bc5fec8ec0607f402688060d520aeb28.tar.bz2 rpmdrake-ce92ed21bc5fec8ec0607f402688060d520aeb28.tar.xz rpmdrake-ce92ed21bc5fec8ec0607f402688060d520aeb28.zip |
sync with code
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/po/Makefile b/po/Makefile index 4aefce09..5159333d 100644 --- a/po/Makefile +++ b/po/Makefile @@ -3,7 +3,6 @@ PGOAL = rpmdrake # perl files to search translatable strings in PL_FILES = ../rpmdrake ../edit-urpm-sources.pl ../rpmdrake.pm ../gurpmi.addmedia ../Rpmdrake/*.pm ../MandrivaUpdate -CFILES = ../grpmi/curl_download/curl_download.xs POFILES = $(wildcard *.po) MOFILES = $(POFILES:%.po=%.mo) @@ -26,14 +25,11 @@ merge: $(PGOAL).pot mv -f "$$n"t "$$n"; \ done -$(PGOAL).pot: $(PL_FILES) $(CFILES) +$(PGOAL).pot: $(PL_FILES) intltool-update --gettext-package desktopstuff --pot perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) - xgettext -F -n --add-comments='-PO' \ - --keyword=_ --keyword=__ --keyword=N_ --keyword=N \ - --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 + msgcat --use-first $(PGOAL)_tmp.pot desktopstuff.pot > $@ + rm -f desktopstuff.pot $(PGOAL)_tmp.pot install: for l in $(LANGS); do \ |