view po/Makefile.mingw @ 26208:0a66afdd4706

hidden is never initialized ==12531== Conditional jump or move depends on uninitialised value(s) ==12531== at 0x44BD3E: pidgin_blist_update_chat (gtkblist.c:6497) ==12531== by 0x44C003: pidgin_blist_update (gtkblist.c:6558) ==12531== by 0x8E30BF7: purple_blist_add_account (blist.c:2438) ==12531== by 0x8E4165B: purple_connection_set_state (connection.c:379) ==12531== by 0xFFC35A6: jabber_stream_set_state (jabber.c:1479) ==12531== by 0xFFB0AAE: auth_old_result_cb (auth.c:574) ==12531== by 0xFFBEFBA: jabber_iq_parse (iq.c:360) ==12531== by 0xFFBFA94: jabber_process_packet (jabber.c:252) ==12531== by 0xFFCC240: jabber_parser_element_end_libxml (parser.c:125) ==12531== by 0xA0D2544: xmlParseChunk (in /usr/lib/libxml2.so.2.6.32) ==12531== by 0xFFCC43C: jabber_parser_process (parser.c:227) ==12531== by 0xFFC0586: jabber_recv_cb (jabber.c:546)
author Ka-Hing Cheung <khc@hxbc.us>
date Wed, 25 Mar 2009 07:11:14 +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