view pidgin/pixmaps/Makefile.mingw @ 21181:50a93945811b

merge of '54be730b876d8dcb239390730afc8620f96bc429' and '63da2a499b2f4ac3db09eb4d2d464e492ac55af9'
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 09 Nov 2007 04:07:37 +0000
parents 566b52a449b9
children 708b51ddddc4
line wrap: on
line source

#
# Makefile.mingw
#
# Description: Makefile for win32 (mingw) version of Pidgin pixmaps
#

PIDGIN_TREE_TOP := ../..
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak

datadir := $(PIDGIN_INSTALL_DIR)
include ./Makefile.am

.PHONY: install clean

install:
	if test '$(SUBDIRS)'; then \
	  list='$(SUBDIRS)'; for subdir in $$list; do \
	  if [[ "$$subdir" != icons/* ]]; then \
	    $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1 ;\
	  fi \
	  done; \
	fi;
	if test '$(nobase_dist_pidginpixmap_DATA)'; then \
	  list='$(nobase_dist_pidginpixmap_DATA)'; for file in $$list; do \
	    dir=`dirname $$file`; \
	    mkdir -p $(pidginpixmapdir)/$$dir; \
	    cp $$file $(pidginpixmapdir)/$$dir/; \
	  done; \
	fi;
	if test '$(pidginbuttonpix_DATA)'; then \
	  mkdir -p $(pidginbuttonpixdir); \
	  cp $(pidginbuttonpix_DATA) $(pidginbuttonpixdir); \
	fi;
	if test '$(pidgindistpix_DATA)'; then \
	  mkdir -p $(pidgindistpixdir); \
	  cp $(pidgindistpix_DATA) $(pidgindistpixdir); \
	fi;