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 /po/Makefile | |
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
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
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 |