comparison 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 8fbd51946259
children 78c64f7c598f
comparison
equal deleted inserted replaced
21583:21cbdaf265f6 21584:055e1abac7cf
95 find $(STRIPPED_RELEASE_DIR) \( -name '*.dll' -o -name '*.exe' \) \ 95 find $(STRIPPED_RELEASE_DIR) \( -name '*.dll' -o -name '*.exe' \) \
96 -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -exec $(STRIP) --strip-unneeded {} ';' 96 -not \( -false $(EXTERNAL_DLLS_FIND_EXP) \) -exec $(STRIP) --strip-unneeded {} ';'
97 97
98 installer: create_release_install_dir 98 installer: create_release_install_dir
99 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DWITH_GTK /DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi 99 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DWITH_GTK /DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi
100 mv pidgin/win32/nsis/pidgin*.exe ./ 100 mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION).exe ./
101 101
102 installer_nogtk: create_release_install_dir 102 installer_nogtk: create_release_install_dir
103 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi 103 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(STRIPPED_RELEASE_DIR)" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi
104 mv pidgin/win32/nsis/pidgin*.exe ./ 104 mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION)-no-gtk.exe ./
105 105
106 installer_debug: install 106 installer_debug: install
107 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(PIDGIN_INSTALL_DIR)" /DDEBUG /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi 107 $(MAKENSIS) /V3 /DPIDGIN_VERSION="$(PIDGIN_VERSION)" /DPIDGIN_PRODUCT_VERSION="$(PIDGIN_PRODUCT_VERSION)" /DPIDGIN_INSTALL_DIR="$(PIDGIN_INSTALL_DIR)" /DDEBUG /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" pidgin/win32/nsis/pidgin-installer.nsi
108 mv pidgin/win32/nsis/pidgin*.exe ./ 108 mv pidgin/win32/nsis/pidgin-$(PIDGIN_VERSION)-debug.exe ./
109 109
110 installer_zip: create_release_install_dir 110 installer_zip: create_release_install_dir
111 rm -f pidgin-$(PIDGIN_VERSION)-win32-bin.zip 111 rm -f pidgin-$(PIDGIN_VERSION)-win32-bin.zip
112 zip -9 -r pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(STRIPPED_RELEASE_DIR) 112 zip -9 -r pidgin-$(PIDGIN_VERSION)-win32-bin.zip $(STRIPPED_RELEASE_DIR)
113 113
122 122
123 clean: 123 clean:
124 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) clean 124 $(MAKE) -C $(PURPLE_PO_TOP) -f $(MINGW_MAKEFILE) clean
125 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) clean 125 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) clean
126 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) clean 126 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) clean
127 rm -f $(PIDGIN_CONFIG_H) ./VERSION pidgin*.exe 127 rm -f $(PIDGIN_CONFIG_H) ./VERSION pidgin-$(PIDGIN_VERSION)*.exe pidgin-$(PIDGIN_VERSION)-win32-bin.zip
128 rm -rf doc/html Doxyfile.mingw 128 rm -rf doc/html Doxyfile.mingw
129 129
130 uninstall: 130 uninstall:
131 rm -rf $(PURPLE_INSTALL_PERLMOD_DIR) $(PIDGIN_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_PO_DIR) $(PIDGIN_INSTALL_DIR) $(PIDGIN_INSTALL_DIR).release 131 rm -rf $(PURPLE_INSTALL_PERLMOD_DIR) $(PIDGIN_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_PO_DIR) $(PIDGIN_INSTALL_DIR) $(STRIPPED_RELEASE_DIR)
132 rm -f ./VERSION
132 133
133 include $(PIDGIN_COMMON_TARGETS) 134 include $(PIDGIN_COMMON_TARGETS)