diff gtk/sounds/Makefile.mingw @ 14461:841ce6b110a8

[gaim-migrate @ 17175] A couple mingw makefile tweaks from Lee Roach and some cleanup from me. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 06 Sep 2006 03:01:57 +0000
parents 8793fc8f7064
children 5d03b309b482
line wrap: on
line diff
--- a/gtk/sounds/Makefile.mingw	Wed Sep 06 02:33:25 2006 +0000
+++ b/gtk/sounds/Makefile.mingw	Wed Sep 06 03:01:57 2006 +0000
@@ -1,14 +1,18 @@
 #
 # Makefile.mingw
 #
-# Description: Makefile for win32 (mingw) version of Gaim
+# Description: Makefile for win32 (mingw) version of Gaim sounds
 #
 
 GAIM_TOP := ../..
 include $(GAIM_TOP)/libgaim/win32/global.mak
-include $(GAIM_GTK_SOUNDS_TOP)/Makefile.am
+
+datadir := $(GAIM_INSTALL_DIR)
+include ./Makefile.am
 
-install: $(GAIM_INSTALL_SOUNDS_DIR)
-	cp $(EXTRA_DIST) $(GAIM_INSTALL_SOUNDS_DIR)
+install:
+	if test '$(sounds_DATA)'; then \
+	  mkdir -p $(soundsdir); \
+	  cp $(sounds_DATA) $(soundsdir); \
+	fi;
 
-include $(GAIM_COMMON_TARGETS)