# Description: Makefile to generate mo files include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak CATALOGS = $(patsubst
%.po,%.gmo,
$(wildcard
*.po
)) rm
-f
$@ && $(GMSGFMT
) --statistics
-o
$@ $<
.PHONY: all install clean mkdir
-p
$(PURPLE_INSTALL_PO_DIR
) @catalogs
='$(CATALOGS)'; \ for cat
in $$catalogs
; do \ lang=`echo $$cat
| sed
's/\.gmo$$//'`; \ dir=$(PURPLE_INSTALL_PO_DIR
)/
$$lang/LC_MESSAGES
; \ cp $$cat $$dir/$(PACKAGE).mo; \ echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ cp $(PURPLE_PO_TOP)/$$cat $$dir/$(PACKAGE).mo; \ echo "installing $(PURPLE_PO_TOP)/$$cat as" \