diff pidgin/pixmaps/emotes/none/Makefile.mingw @ 22589:8b952cb84f45

Ugly hackery to support INSTALL_PIXMAPS for the win32 build.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 31 Mar 2008 22:01:43 +0000
parents 60188d208fec
children 78c64f7c598f
line wrap: on
line diff
--- a/pidgin/pixmaps/emotes/none/Makefile.mingw	Mon Mar 31 17:19:02 2008 +0000
+++ b/pidgin/pixmaps/emotes/none/Makefile.mingw	Mon Mar 31 22:01:43 2008 +0000
@@ -8,11 +8,11 @@
 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
 
 datadir = $(PIDGIN_INSTALL_DIR)
-include ./Makefile.am
+-include ./Makefile.am.mingw
 
 .PHONY: install clean
 
-install: theme
+install: ./Makefile.am.mingw theme
 	if test '$(pidginsmileypix_DATA)'; then \
 	  mkdir -p $(pidginsmileypixdir); \
 	  cp $(pidginsmileypix_DATA) $(pidginsmileypixdir); \
@@ -21,3 +21,7 @@
 clean:
 	rm -f theme
 
+./Makefile.am.mingw: ./Makefile.am
+	sed -e 's/^if\ INSTALL_PIXMAPS/ifeq (\$$(INSTALL_PIXMAPS), 1)/' ./Makefile.am > $@
+        include $@
+