Mercurial > pidgin.yaz
view po/Makefile.mingw @ 9259:f5f7482678d2
[gaim-migrate @ 10058]
Patch by Felipe Contreras. He says, "This patch creates a different
callback for the end of a slpcall, so there is no mistake with the current
callback for a sucessful slpcall ... when we reach the end of a slpcall the
slpcall data has been destroyed, the got_userdisplay cb should be called
only as the sucessfull slpcall callback."
Essentially, it fixes the corrupt buddy icon checksum issue, though it
needs another patch that has to be reworked first, if I understood right.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 10 Jun 2004 20:57:52 +0000 |
parents | 580070695352 |
children | 6dcfec6f2f7c |
line wrap: on
line source
# Makefile.mingw # # Description: Makefile to generate mo files # PACKAGE = gaim ## ## PATHS ## srcdir = . GAIM_TOP = .. GAIM_INSTALL_DIR = ../win32-install-dir LOCALEDIR = $(GAIM_INSTALL_DIR)/locale GTK_BIN = ../../win32-dev/gtk_2_0/bin ## ## TOOLS ## GMSGFMT = $(GTK_BIN)/msgfmt .SUFFIXES: .SUFFIXES: .po .gmo ## ## SOURCES, OBJECTS ## CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) ## ## RULES ## .po.gmo: rm -f $@ && $(GMSGFMT) --statistics -o $@ $< ## ## TARGETS ## all: $(CATALOGS) install: all mkdir -p $(LOCALEDIR) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\.gmo$$//'`; \ dir=$(LOCALEDIR)/$$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 $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(PACKAGE).mo"; \ fi; \ done clean: rm -f *.gmo