changeset 21546:948ef81f4215

Fix purple.h generation on win32. Thanks to Kevin for noticing.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 16 Nov 2007 05:02:34 +0000
parents ebe7bb5e56bd
children 0015b58bee6f
files libpurple/Makefile.mingw libpurple/win32/targets.mak
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/Makefile.mingw	Fri Nov 16 04:36:10 2007 +0000
+++ b/libpurple/Makefile.mingw	Fri Nov 16 05:02:34 2007 +0000
@@ -119,7 +119,7 @@
 	sed -e 's/@PURPLE_VERSION@/$(PURPLE_VERSION)/g' \
 	    $@.in > $@
 
-$(OBJECTS): $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H)
+$(OBJECTS): $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H) $(PURPLE_PURPLE_H)
 
 $(TARGET).dll $(TARGET).dll.a: $(OBJECTS)
 	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--output-def,$(TARGET).def,--out-implib,$(TARGET).dll.a -o $(TARGET).dll
--- a/libpurple/win32/targets.mak	Fri Nov 16 04:36:10 2007 +0000
+++ b/libpurple/win32/targets.mak	Fri Nov 16 05:02:34 2007 +0000
@@ -9,7 +9,7 @@
 	sed -e 's/@VERSION@/$(PIDGIN_VERSION)/; s/@DISPLAY_VERSION@/$(DISPLAY_VERSION)/' $@.mingw > $@
 
 $(PURPLE_PURPLE_H): $(PURPLE_PURPLE_H).in
-	sed -e 's/@PLUGINS_DEFINE@/#define PURPLE_PLUGINS 1/; $@.in > $@
+	sed -e 's/@PLUGINS_DEFINE@/#define PURPLE_PLUGINS 1/' $@.in > $@
 
 $(PURPLE_VERSION_H): $(PURPLE_VERSION_H).in $(PIDGIN_TREE_TOP)/configure.ac
 	cp $@.in $@