NAME = draklive-install localedir = ${prefix}/share/locale PL_FILES = ../$(NAME) $(shell find .. -type f -name "*pm") MERGE_POFILES = $(shell for i in ../../../perl-install/share/po/*.po; do basename $$i; done) POFILES = $(wildcard *.po) MOFILES = $(POFILES:%.po=%.mo) LANGS = $(POFILES:%.po=%) all: $(NAME).pot $(POFILES) $(MOFILES) %.mo: %.po msgfmt -o $@ $< update_n_merge: $(NAME).pot merge merge: @for n in $(MERGE_POFILES); do \ echo "Merging $$n"; \ msgmerge "$$n" $(NAME).pot > "$$n"t; \ mv -f "$$n"t "$$n"; \ done $(NAME).pot: intltool-update --gettext-package desktopstuff --pot perl_checker -q --generate-pot $(NAME)_tmp.pot $(PL_FILES) [ ! -e $(NAME)_tmp.pot ] || msgcat --use-first $(NAME)_tmp.pot desktopstuff.pot > $@ rm -f desktopstuff.pot $(NAME)_tmp.pot install: all for l in $(LANGS); do \ install -d $(localedir)/$$l/LC_MESSAGES; \ install -m 644 $$l.mo $(localedir)/$$l/LC_MESSAGES/$(NAME).mo; \ done clean: @rm -rf *.mo $(POFILES:%=%t) o/mdv2007.0 Mageia Desktop AppletThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/po/eo.po
diff options
context:
space:
mode:
authorJoão Victor Duarte Martins <jvictor@mandriva.com>2010-05-19 17:09:09 +0000
committerJoão Victor Duarte Martins <jvictor@mandriva.com>2010-05-19 17:09:09 +0000
commitd73b3e25569892d832a5fc0a18ca57f5f372eb5f (patch)
tree6b1eb707ddad32cd922e72ed9756caa2b894d3c6 /po/eo.po
parent06c0d4a37aec130691c55e13937bc688bf5e6cb1 (diff)
downloadmgaonline-d73b3e25569892d832a5fc0a18ca57f5f372eb5f.tar
mgaonline-d73b3e25569892d832a5fc0a18ca57f5f372eb5f.tar.gz
mgaonline-d73b3e25569892d832a5fc0a18ca57f5f372eb5f.tar.bz2
mgaonline-d73b3e25569892d832a5fc0a18ca57f5f372eb5f.tar.xz
mgaonline-d73b3e25569892d832a5fc0a18ca57f5f372eb5f.zip