sed Makefile.in -e "s/messages.pot/\$(PACKAGE).pot/g" -i

This commit is contained in:
Robert Millan 2009-11-16 19:36:12 +00:00
parent fc22844e83
commit 49a38e7696

View file

@ -464,11 +464,11 @@ gensymlist.sh: gensymlist.sh.in config.status
genkernsyms.sh: genkernsyms.sh.in config.status genkernsyms.sh: genkernsyms.sh.in config.status
$(SHELL) ./config.status $(SHELL) ./config.status
po/messages.pot: po/POTFILES po/$(PACKAGE).pot: po/POTFILES
xgettext --from-code=utf-8 --keyword=_ -f $< -o $@ xgettext --from-code=utf-8 --keyword=_ -f $< -o $@
po/*.po: po/messages.pot po/*.po: po/$(PACKAGE).pot
msgmerge -U $@ po/messages.pot msgmerge -U $@ po/$(PACKAGE).pot
po/%.mo: po/%.po po/%.mo: po/%.po
$(MKDIR_P) $$(dirname $@) $(MKDIR_P) $$(dirname $@)