comparison Makefile.mingw @ 15364:d9ef62fb7e7b

[gaim-migrate @ 18156] Have the wingaim installer read the GTK version to be installed from the installer "source" instead of maintaining the version in the installer script and having to update it. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 18 Jan 2007 17:41:47 +0000
parents 133af8458cbd
children 0e17470b47c2
comparison
equal deleted inserted replaced
15363:6945eb35fba5 15364:d9ef62fb7e7b
28 } \ 28 } \
29 } \ 29 } \
30 printf("%s.%s.%s.%s", $$1, $$2, int($$3), $$4); \ 30 printf("%s.%s.%s.%s", $$1, $$2, int($$3), $$4); \
31 exit; \ 31 exit; \
32 }' VERSION) 32 }' VERSION)
33
34 GTK_INSTALL_VERSION = $(shell \
35 source ../gtk_installer/version.sh; \
36 echo $$gtk_version \
37 )
33 38
34 # Any *.dll or *.exe files included in win32-install-dir that we don't compile 39 # Any *.dll or *.exe files included in win32-install-dir that we don't compile
35 # should be included in this list so they don't get stripped 40 # should be included in this list so they don't get stripped
36 NON_GAIM_DLLS = \ 41 NON_GAIM_DLLS = \
37 freebl3.dll \ 42 freebl3.dll \
68 cp -R $(GAIM_INSTALL_DIR) $(GAIM_INSTALL_DIR).release 73 cp -R $(GAIM_INSTALL_DIR) $(GAIM_INSTALL_DIR).release
69 find $(GAIM_INSTALL_DIR).release \( -name '*.dll' -o -name '*.exe' \) \ 74 find $(GAIM_INSTALL_DIR).release \( -name '*.dll' -o -name '*.exe' \) \
70 -not \( -false $(NON_GAIM_DLLS_FIND_EXP) \) -exec strip --strip-unneeded {} ';' 75 -not \( -false $(NON_GAIM_DLLS_FIND_EXP) \) -exec strip --strip-unneeded {} ';'
71 76
72 installer: create_release_install_dir 77 installer: create_release_install_dir
73 $(MAKENSIS) /V3 /DGAIM_VERSION="$(GAIM_VERSION)" /DGAIM_PRODUCT_VERSION="$(GAIM_PRODUCT_VERSION)" /DWITH_GTK /DGAIM_INSTALL_DIR="$(GAIM_INSTALL_DIR).release" gaim-installer.nsi 78 $(MAKENSIS) /V3 /DGAIM_VERSION="$(GAIM_VERSION)" /DGAIM_PRODUCT_VERSION="$(GAIM_PRODUCT_VERSION)" /DWITH_GTK /DGAIM_INSTALL_DIR="$(GAIM_INSTALL_DIR).release" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" gaim-installer.nsi
74 79
75 installer_nogtk: create_release_install_dir 80 installer_nogtk: create_release_install_dir
76 $(MAKENSIS) /V3 /DGAIM_VERSION="$(GAIM_VERSION)" /DGAIM_PRODUCT_VERSION="$(GAIM_PRODUCT_VERSION)" /DGAIM_INSTALL_DIR="$(GAIM_INSTALL_DIR).release" gaim-installer.nsi 81 $(MAKENSIS) /V3 /DGAIM_VERSION="$(GAIM_VERSION)" /DGAIM_PRODUCT_VERSION="$(GAIM_PRODUCT_VERSION)" /DGAIM_INSTALL_DIR="$(GAIM_INSTALL_DIR).release" /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" gaim-installer.nsi
77 82
78 installer_debug: install 83 installer_debug: install
79 $(MAKENSIS) /V3 /DGAIM_VERSION="$(GAIM_VERSION)" /DGAIM_PRODUCT_VERSION="$(GAIM_PRODUCT_VERSION)" /DGAIM_INSTALL_DIR="$(GAIM_INSTALL_DIR)" /DDEBUG gaim-installer.nsi 84 $(MAKENSIS) /V3 /DGAIM_VERSION="$(GAIM_VERSION)" /DGAIM_PRODUCT_VERSION="$(GAIM_PRODUCT_VERSION)" /DGAIM_INSTALL_DIR="$(GAIM_INSTALL_DIR)" /DDEBUG /DGTK_INSTALL_VERSION="$(GTK_INSTALL_VERSION)" gaim-installer.nsi
80 85
81 installers: installer installer_nogtk installer_debug 86 installers: installer installer_nogtk installer_debug
82 87
83 clean: 88 clean:
84 $(MAKE) -C $(GAIM_PO_TOP) -f $(GAIM_WIN32_MAKEFILE) clean 89 $(MAKE) -C $(GAIM_PO_TOP) -f $(GAIM_WIN32_MAKEFILE) clean