pidgin/pidgin

Revert my previous change.

2017-01-08, Mark Doliner
7ccb54f5d342
Revert my previous change.

Apparently it caused `make distcheck` to fail which caused a Bitbucket build pipeline to fail: https://bitbucket.org/pidgin/main/addon/pipelines/home#!/results/%7B9f059724-78b4-4a5e-9780-9a614c7c2742%7D

Not sure how to fix this.

FYI there's a daily cronjob on... rock? in that calls /srv/trac/developer.pidgin.im/mercurial_support/nightly_update.sh which updates https://developer.pidgin.im/l10n/ It's been failing for a few months.
# 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:
@echo -e " GEN\t$@"
@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