pidgin/purple-plugin-pack

merge of 'd96630e7b4cab3a8e44326d936d5c008d332ff0c'
org.guifications.plugins
2008-09-21, rlaager
2f842b91d09d
merge of 'd96630e7b4cab3a8e44326d936d5c008d332ff0c'
and 'ff6b591687253495e1968fb2a3a49700f473b5ab'
#
# 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