diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-01 21:53:47 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-01 21:59:48 +0100 |
commit | 8e29638bda1956d81baba16370c43822764a011a (patch) | |
tree | 87e0b6d0232a6af870eda33ae908c9cc79afefab | |
parent | e1025cca4187293306b9caaced5f3edfd30e2c68 (diff) | |
download | rpmdrake-8e29638bda1956d81baba16370c43822764a011a.tar rpmdrake-8e29638bda1956d81baba16370c43822764a011a.tar.gz rpmdrake-8e29638bda1956d81baba16370c43822764a011a.tar.bz2 rpmdrake-8e29638bda1956d81baba16370c43822764a011a.tar.xz rpmdrake-8e29638bda1956d81baba16370c43822764a011a.zip |
i18n: Do not version POTFILES.in
-rw-r--r-- | po/.gitignore | 2 | ||||
-rw-r--r-- | po/Makefile | 12 | ||||
-rw-r--r-- | po/POTFILES.in | 6 |
3 files changed, 9 insertions, 11 deletions
diff --git a/po/.gitignore b/po/.gitignore new file mode 100644 index 00000000..6cc7e589 --- /dev/null +++ b/po/.gitignore @@ -0,0 +1,2 @@ +POTFILES.in +*.mo diff --git a/po/Makefile b/po/Makefile index 8f995fc8..b88aebff 100644 --- a/po/Makefile +++ b/po/Makefile @@ -27,11 +27,11 @@ merge: $(PGOAL).pot mv -f "$$n"t "$$n"; \ done -$(PGOAL).pot: $(PL_FILES) - intltool-update --gettext-package desktopstuff --pot +$(PGOAL).pot: $(PL_FILES) POTFILES.in + intltool-update --gettext-package non-perl --pot perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) - msgcat --use-first $(PGOAL)_tmp.pot desktopstuff.pot > $@ - rm -f desktopstuff.pot $(PGOAL)_tmp.pot + msgcat --use-first $(PGOAL)_tmp.pot non-perl.pot > $@ + rm -f non-perl.pot $(PGOAL)_tmp.pot install: for l in $(LANGS); do \ @@ -39,8 +39,10 @@ install: install -m 644 $$l.mo $(LOCALEDIR)/$$l/LC_MESSAGES/$(PGOAL).mo; \ done +POTFILES.in: + (cd .. ; /bin/ls -1 data/*.desktop.in mime/*.desktop.in; ) > POTFILES.in clean: - @rm -rf *.mo *.pof *.pog $(POFILES:%=%t) $(PL_CFILES) desktopstuff.pot $(PGOAL)_tmp.pot + @rm -rf *.mo *.pof *.pog $(POFILES:%=%t) $(PL_CFILES) non-perl.pot $(PGOAL)_tmp.pot check: for i in *.po; do msgfmt -c $$i -o /dev/null; done diff --git a/po/POTFILES.in b/po/POTFILES.in deleted file mode 100644 index 042e824f..00000000 --- a/po/POTFILES.in +++ /dev/null @@ -1,6 +0,0 @@ -data/mageiaupdate.desktop.in -data/rpmdrake-browse-only.desktop.in -data/rpmdrake.desktop.in -data/rpmdrake-sources.desktop.in -mime/gurpmi.addmedia.desktop.in -mime/x-urpmi-media.desktop.in |