Mercurial > pidgin.yaz
comparison Makefile.mingw @ 30909:25e200cb3532
propagate from branch 'im.pidgin.pidgin' (head dca20e09164518b0f7a773edd7e9649f41d8873d)
to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 7823c556f2d1bbca43f5ef9f0fea30cabc5d313f)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 31 Aug 2010 18:28:10 +0000 |
parents | c43570e34d81 |
children |
comparison
equal
deleted
inserted
replaced
30908:c44ec533a48c | 30909:25e200cb3532 |
---|---|
73 ssl3.dll | 73 ssl3.dll |
74 | 74 |
75 #build an expression for `find` to use to ignore the above files | 75 #build an expression for `find` to use to ignore the above files |
76 EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS)) | 76 EXTERNAL_DLLS_FIND_EXP = $(patsubst %,-o -name %,$(EXTERNAL_DLLS)) |
77 | 77 |
78 include $(PIDGIN_COMMON_RULES) | |
79 | |
78 .PHONY: all docs install installer installer_offline installer_zip debug_symbols_zip installers clean uninstall create_release_install_dir generate_installer_includes $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT) | 80 .PHONY: all docs install installer installer_offline installer_zip debug_symbols_zip installers clean uninstall create_release_install_dir generate_installer_includes $(PIDGIN_REVISION_H) $(PIDGIN_REVISION_RAW_TXT) |
79 | 81 |
80 all: $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H) | 82 all: $(PIDGIN_CONFIG_H) $(PIDGIN_REVISION_H) |
81 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) | 83 $(MAKE) -C $(PURPLE_TOP) -f $(MINGW_MAKEFILE) |
82 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) | 84 $(MAKE) -C $(PIDGIN_TOP) -f $(MINGW_MAKEFILE) |
99 cp $(WIN32_DEV_TOP)/pidgin-inst-deps-20100315/exchndl.dll $(PIDGIN_INSTALL_DIR) | 101 cp $(WIN32_DEV_TOP)/pidgin-inst-deps-20100315/exchndl.dll $(PIDGIN_INSTALL_DIR) |
100 | 102 |
101 pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip: | 103 pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip: |
102 pidgin/win32/nsis/generate_gtk_zip.sh `pwd` | 104 pidgin/win32/nsis/generate_gtk_zip.sh `pwd` |
103 | 105 |
104 generate_installer_includes: create_release_install_dir pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip debug_symbols_zip | 106 generate_installer_includes: create_release_install_dir pidgin/win32/nsis/gtk-runtime-$(GTK_BUNDLE_VERSION).zip debug_symbols_zip $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/nsis_translations.desktop |
105 rm -f pidgin/win32/nsis/pidgin-translations.nsh pidgin/win32/nsis/pidgin-spellcheck.nsh pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh | 107 rm -f pidgin/win32/nsis/pidgin-translations.nsh pidgin/win32/nsis/pidgin-spellcheck.nsh pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh |
106 find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \ | 108 find $(STRIPPED_RELEASE_DIR)/locale -maxdepth 1 -mindepth 1 \ |
107 -exec basename {} ';' \ | 109 -exec basename {} ';' \ |
108 | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \ | 110 | LC_ALL=C sort | sed -e s/^/\!insertmacro\ LANG_SECTION\ \"/ -e s/$$/\"/ \ |
109 > pidgin/win32/nsis/pidgin-translations.nsh | 111 > pidgin/win32/nsis/pidgin-translations.nsh |
110 #Convert the available.lst lines to "!insertmacro SPELLCHECK_SECTION lang lang_name lang_file" | 112 #Convert the available.lst lines to "!insertmacro SPELLCHECK_SECTION lang lang_name lang_file" |
111 sed -e "/^#/d" -e "s/^[^,]\{1,\},[^,]\{1,\},/\"/" \ | 113 sed -e "/^#/d" -e "s/^[^,]\{1,\},[^,]\{1,\},/\"/" \ |
112 -e "s/,/\"\ \"/" -e "s/,/\"\ \"/" -e "s/[\ \t]*$$/\"/" \ | 114 -e "s/,/\"\ \"/" -e "s/,/\"\ \"/" -e "s/[\ \t]*$$/\"/" \ |
113 -e "s/^/\!insertmacro\ SPELLCHECK_SECTION\ /" \ | 115 -e "s/^/\!insertmacro\ SPELLCHECK_SECTION\ /" \ |
117 iconv -f latin1 -t utf-8 pidgin/win32/nsis/pidgin-spellcheck.nsh | \ | 119 iconv -f latin1 -t utf-8 pidgin/win32/nsis/pidgin-spellcheck.nsh | \ |
118 sed -e "s/SPELLCHECK_SECTION/CHECK_SPELLCHECK_SECTION/" \ | 120 sed -e "s/SPELLCHECK_SECTION/CHECK_SPELLCHECK_SECTION/" \ |
119 -e "s/ \"[^\"]*\"\ \"[^\"]*\"[\t\ ]*$$//" | \ | 121 -e "s/ \"[^\"]*\"\ \"[^\"]*\"[\t\ ]*$$//" | \ |
120 iconv -f utf-8 -t latin1 \ | 122 iconv -f utf-8 -t latin1 \ |
121 > pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh | 123 > pidgin/win32/nsis/pidgin-spellcheck-preselect.nsh |
124 #Generate the Installer translations | |
125 echo "!define GCOMPRIS_NSIS_INCLUDE_PATH \".\"" > $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/langmacros.nsh | |
126 echo "@INSERT_TRANSLATIONS@" >> $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/langmacros.nsh | |
127 $(PERL) $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/create_nsis_translations.pl \ | |
128 $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/nsis_translations.desktop \ | |
129 $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/langmacros.nsh \ | |
130 $(PIDGIN_TREE_TOP)/pidgin/win32/nsis/translations | |
122 | 131 |
123 create_release_install_dir: install | 132 create_release_install_dir: install |
124 rm -rf $(STRIPPED_RELEASE_DIR) | 133 rm -rf $(STRIPPED_RELEASE_DIR) |
125 mkdir $(STRIPPED_RELEASE_DIR) | 134 mkdir $(STRIPPED_RELEASE_DIR) |
126 tar -cf - $(PIDGIN_INSTALL_DIR) --exclude=Gtk --exclude=spellcheck/share \ | 135 tar -cf - $(PIDGIN_INSTALL_DIR) --exclude=Gtk --exclude=spellcheck/share \ |