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