view pidgin/pixmaps/Makefile.mingw @ 21584:055e1abac7cf

This is a patch from Lee Roach to update the mingw "clean" makefile targets to remove some generated files and to fix a couple other issues. Fixes #3981.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 19 Nov 2007 00:40:33 +0000
parents 708b51ddddc4
children 8b952cb84f45
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 \
	    $(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) install || exit 1 ;\
	  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;

clean:
	if test '$(SUBDIRS)'; then \
		list='$(SUBDIRS)'; for subdir in $$list; do \
		$(MAKE) -C $$subdir -f $(MINGW_MAKEFILE) clean;\
		done; \
	fi;