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