Bug 470320 - Don't modify DIRS after including rules.mk, r=Standard8
authorPhil Ringnalda <philringnalda@gmail.com>
Fri, 19 Dec 2008 20:11:35 -0800
changeset 1465 79ecad54ff34c11ca04a7b96250c9f5596846dc0
parent 1464 4daac073741d2876dbcaded7f6d4a52b41129419
child 1466 dec0f8b8e68697ce7212db636746b843bea78f63
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs470320
Bug 470320 - Don't modify DIRS after including rules.mk, r=Standard8
mail/Makefile.in
--- a/mail/Makefile.in
+++ b/mail/Makefile.in
@@ -55,21 +55,27 @@ ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 DIRS += themes/pinstripe
 else
 DIRS += themes/qute
 endif
 
 # app is always last as it packages up the built files on mac
 DIRS += app
 
+ifeq ($(OS_ARCH),WINNT)
+ifdef MOZ_INSTALLER
+# though some lasts are more last than others
+DIRS += installer/windows
+endif
+endif
+
 include $(topsrcdir)/config/rules.mk
 
 ifeq ($(OS_ARCH),WINNT)
 ifdef MOZ_INSTALLER
-DIRS += installer/windows
 
 # For Windows build the uninstaller during the application build since the
 # uninstaller is included with the application for mar file generation.
 libs::
 	$(MAKE) -C installer/windows uninstaller
 
 endif
 endif