pidgin/purple-plugin-pack

05708390e9b2
Fixed up the message splitter plugin to work and not depend on gdk...

Theres some hackery here though. On !win32, we depend on cairo, which should be alright anyways, however this needs to be tested on windows.

Also, this still needs a lot of cleanup, but it does work.
#
# Makefile.mingw
#
# Description: Makefile for win32 (mingw) purple plugin pack
#
VERSION := $(shell cat ./VERSION)
ALL_PLUGINS_LIST := $(shell python plugin_pack.py build_dirs purple,pidgin all)
comma:= ,
empty:=
space:= $(empty) $(empty)
ALL_PLUGINS := $(subst $(comma),$(space),$(ALL_PLUGINS_LIST))
all:
list='$(ALL_PLUGINS)'; for subdir in $$list; do \
if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
$(MAKE) -C $$subdir -f Makefile.mingw || exit 1; \
fi; fi; \
done;
install: all
list='$(ALL_PLUGINS)'; for subdir in $$list; do \
if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
$(MAKE) -C $$subdir -f Makefile.mingw install || exit 1;\
fi; fi; \
done;
clean:
list='$(ALL_PLUGINS)'; for subdir in $$list; do \
if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
$(MAKE) -C $$subdir -f Makefile.mingw clean || exit 1;\
fi; fi; \
done; \
rm -rf pp_config.h win32-dist purple-plugin_pack*.zip
install_zip:
list='$(ALL_PLUGINS)'; for subdir in $$list; do \
if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
$(MAKE) -C $$subdir -f Makefile.mingw install_zip || exit 1;\
fi; fi; \
done; \
pushd win32-dist; \
zip ../purple-plugin_pack-$(VERSION).zip *.dll; \
popd