Mercurial > pidgin
view po/Makefile.mingw @ 26842:33f98d662db8
Don't crash when resource is NULL. Thanks, Marcus!
#0 0x00007ffe6d203a92 in strcmp () from /lib/libc.so.6
#1 0x00007ffe5c588406 in jabber_buddy_find_resource (
jb=<value optimized out>, resource=0x1 <Address 0x1 out of bounds>)
at buddy.c:143
#2 0x00007ffe5c5a7303 in jabber_presence_set_capabilities (info=0x0,
exts=0x0, userdata=0x11da700) at presence.c:410
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 07 May 2009 17:04:59 +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