diff Makefile.mingw @ 3967:cafc0968ea6b

[gaim-migrate @ 4151] Passing Gaim version to makensis command line committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 15 Nov 2002 17:09:47 +0000
parents db0a88dd6fcf
children 4cf1d0ff9f5f
line wrap: on
line diff
--- a/Makefile.mingw	Fri Nov 15 17:08:51 2002 +0000
+++ b/Makefile.mingw	Fri Nov 15 17:09:47 2002 +0000
@@ -25,6 +25,8 @@
 GG = $(GAIM_PROTOS)/gg
 PO = ./po
 
+VERSION := $(shell cat ./VERSION)
+
 NEEDED_DLLS = 		$(GTK_LIBS)/libgdk-win32-2.0-0.dll \
 			$(GTK_LIBS)/libglib-2.0-0.dll \
 			$(GTK_LIBS)/libintl-1.dll \
@@ -153,7 +155,7 @@
 	cp $(GAIM_SRC)/win32/themes/gtkrc $(GAIM_INSTALL_DIR)/etc/gtk-2.0
 
 installer:
-	makensis.exe gaim-installer.nsi
+	makensis.exe /DGAIM_VERSION="$(VERSION)" gaim-installer.nsi
 
 clean:
 	$(MAKE) -C $(PO) -f Makefile.mingw clean