4 # Description: Makefile for win32 (mingw) purple plugin pack
7 PIDGIN_TREE_TOP ?= ../../..
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
10 VERSION := $(shell cat ./VERSION)
12 ALL_PLUGINS_LIST := $(shell python plugin_pack.py build_dirs purple,pidgin,gtkspell,aspell all)
16 space:= $(empty) $(empty)
18 ALL_PLUGINS := $(subst $(comma),$(space),$(ALL_PLUGINS_LIST))
21 list='$(ALL_PLUGINS)'; for subdir in $$list; do \
22 if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
23 $(MAKE) -C $$subdir -f Makefile.mingw || exit 1; \
28 list='$(ALL_PLUGINS)'; for subdir in $$list; do \
29 if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
30 $(MAKE) -C $$subdir -f Makefile.mingw install || exit 1;\
35 $(MAKENSIS) -DPP_VERSION="$(VERSION)" plugin-pack-installer.nsi
38 list='$(ALL_PLUGINS)'; for subdir in $$list; do \
39 if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
40 $(MAKE) -C $$subdir -f Makefile.mingw clean || exit 1;\
43 rm -rf pp_config.h win32-dist purple-plugin_pack*.zip
46 list='$(ALL_PLUGINS)'; for subdir in $$list; do \
47 if test -d $$subdir; then if test -e $$subdir/Makefile.mingw; then \
48 $(MAKE) -C $$subdir -f Makefile.mingw install_zip || exit 1;\
52 zip ../purple-plugin_pack-$(VERSION).zip *.dll; \