Mercurial > pidgin
view po/Makefile.mingw @ 20273:187fa336c1b0
Plucked mysapce tag parsing fixes
applied changes from c5468fb873563f4e1249323a03f5531e192965f3
through 34d642b12b7215d55fd032cd513a7e225715f19a
applied changes from 43e06ba1c67cc326d2d93f14d67709b2375da88b
through bf8de57ed4c36f188044ea0684c201d0a1a67169
applied changes from 854642c5c0ea1bb31de3fd0dc5b0c480b70fc327
through 5a661e7759c94109af265616312c40858ae77e27
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Fri, 28 Sep 2007 21:30:15 +0000 |
parents | ded8da3de5f8 |
children | aaaff38e144f |
line wrap: on
line source
# Makefile.mingw # # Description: Makefile to generate mo files # PIDGIN_TREE_TOP := .. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak PACKAGE = pidgin .SUFFIXES: .SUFFIXES: .po .gmo ## ## SOURCES, OBJECTS ## CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) ## ## RULES ## .po.gmo: rm -f $@ && $(GMSGFMT) --statistics -o $@ $< ## ## TARGETS ## .PHONY: all install clean all: $(CATALOGS) install: all mkdir -p $(PURPLE_INSTALL_PO_DIR) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(PURPLE_INSTALL_PO_DIR)/$$lang/LC_MESSAGES; \ mkdir -p $$dir; \ if test -r $$cat; then \ cp $$cat $$dir/$(PACKAGE).mo; \ echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ else \ cp $(PURPLE_PO_TOP)/$$cat $$dir/$(PACKAGE).mo; \ echo "installing $(PURPLE_PO_TOP)/$$cat as" \ "$$dir/$(PACKAGE).mo"; \ fi; \ done clean: rm -f *.gmo