changeset 18657:46629aab70b1

Make sure we delete all generated files with the mingw clean make target.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 27 Jul 2007 15:46:03 +0000
parents 2848d536ac7e
children c5bf7a32968c
files libpurple/Makefile.mingw pidgin/Makefile.mingw pidgin/pixmaps/Makefile.mingw pidgin/pixmaps/emotes/Makefile.mingw pidgin/pixmaps/emotes/default/Makefile.mingw
diffstat 5 files changed, 24 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/Makefile.mingw	Fri Jul 27 10:48:24 2007 +0000
+++ b/libpurple/Makefile.mingw	Fri Jul 27 15:46:03 2007 +0000
@@ -127,8 +127,8 @@
 ## CLEAN RULES
 ##
 clean:
-	rm -f $(OBJECTS) $(RC_SRC)
-	rm -f $(TARGET).dll $(TARGET).dll.a $(PURPLE_VERSION_H)
+	rm -f $(OBJECTS) $(RC_SRC) $(PURPLE_VERSION_H)
+	rm -f $(TARGET).dll $(TARGET).dll.a $(TARGET).def
 	$(MAKE) -C $(PURPLE_PROTOS_TOP) -f $(MINGW_MAKEFILE) clean
 	$(MAKE) -C $(PURPLE_PLUGINS_TOP) -f $(MINGW_MAKEFILE) clean
 
--- a/pidgin/Makefile.mingw	Fri Jul 27 10:48:24 2007 +0000
+++ b/pidgin/Makefile.mingw	Fri Jul 27 15:46:03 2007 +0000
@@ -167,8 +167,9 @@
 clean:
 	$(MAKE) -C $(PIDGIN_IDLETRACK_TOP) -f $(MINGW_MAKEFILE) clean
 	$(MAKE) -C $(PIDGIN_PLUGINS_TOP) -f $(MINGW_MAKEFILE) clean
+	$(MAKE) -C $(PIDGIN_PIXMAPS_TOP) -f $(MINGW_MAKEFILE) clean
 	rm -f $(PIDGIN_OBJECTS) $(PIDGIN_RC_SRC) $(EXE_OBJECTS) $(EXE_RC_SRC)
-	rm -f $(PIDGIN_TARGET).dll $(PIDGIN_TARGET).dll.a
+	rm -f $(PIDGIN_TARGET).dll $(PIDGIN_TARGET).dll.a $(PIDGIN_TARGET).def
 	rm -f $(EXE_TARGET).exe
 
 include $(PIDGIN_COMMON_TARGETS)
--- a/pidgin/pixmaps/Makefile.mingw	Fri Jul 27 10:48:24 2007 +0000
+++ b/pidgin/pixmaps/Makefile.mingw	Fri Jul 27 15:46:03 2007 +0000
@@ -10,7 +10,7 @@
 datadir := $(PIDGIN_INSTALL_DIR)
 include ./Makefile.am
 
-.PHONY: install
+.PHONY: install clean
 
 install:
 	if test '$(SUBDIRS)'; then \
@@ -27,3 +27,5 @@
 	  cp $(pidgindistpix_DATA) $(pidgindistpixdir); \
 	fi;
 
+clean:
+	$(MAKE) -C emotes -f $(MINGW_MAKEFILE) clean || exit 1 ;\
--- a/pidgin/pixmaps/emotes/Makefile.mingw	Fri Jul 27 10:48:24 2007 +0000
+++ b/pidgin/pixmaps/emotes/Makefile.mingw	Fri Jul 27 15:46:03 2007 +0000
@@ -6,7 +6,7 @@
 
 include ./Makefile.am
 
-.PHONY: install
+.PHONY: install clean
 
 install:
 	if test '$(SUBDIRS)'; then \
@@ -14,3 +14,10 @@
 	    $(MAKE) -C $$subdir -f Makefile.mingw install || exit 1; \
 	  done; \
 	fi;
+
+clean:
+	if test '$(SUBDIRS)'; then \
+	  list='$(SUBDIRS)'; for subdir in $$list; do \
+	    $(MAKE) -C $$subdir -f Makefile.mingw clean || exit 1; \
+	  done; \
+	fi;
--- a/pidgin/pixmaps/emotes/default/Makefile.mingw	Fri Jul 27 10:48:24 2007 +0000
+++ b/pidgin/pixmaps/emotes/default/Makefile.mingw	Fri Jul 27 15:46:03 2007 +0000
@@ -6,7 +6,7 @@
 
 include ./Makefile.am
 
-.PHONY: install
+.PHONY: install clean
 
 install:
 	if test '$(SUBDIRS)'; then \
@@ -14,3 +14,11 @@
 	    $(MAKE) -C $$subdir -f Makefile.mingw install || exit 1; \
 	  done; \
 	fi;
+
+clean:
+	if test '$(SUBDIRS)'; then \
+	  list='$(SUBDIRS)'; for subdir in $$list; do \
+	    $(MAKE) -C $$subdir -f Makefile.mingw clean || exit 1; \
+	  done; \
+	fi;
+