# $Id$ # # i18n makefile # dep=no include ../include.mak ALLPOTSOURCES=$(addprefix ../, $(SLIBSOURCES) $(PLUGINSOURCES)) POTFILE = hpgsswf.pot POFILES=$(addprefix hpgsswf_, $(addsuffix .po, $(POLANGS))) $(POTFILE): $(ALLPOTSOURCES) xgettext --keyword=hpgs_swf_i18n --keyword=hpgs_swf_i18n_n:1,2 --from-code=UTF-8 -o $@ $^ hpgsswf_%.po: $(POTFILE) if test -f $@; then msgmerge -U $@ $<; else msginit -l $*.UTF-8 -i $< -o $@; fi pot: $(POTFILE) update-po: $(POFILES)