Allow environment variable MOZ_OBJDIR to be used with OS/2 packaging script

This commit is contained in:
mkaply%us.ibm.com 2005-02-18 17:43:15 +00:00
parent 73d632401b
commit 93659cb1ce

View File

@ -49,9 +49,12 @@ MODULE = xpinstall
ifeq (,$(INSTALLER_URL))
INSTALLER_URL = "http://ftp.mozilla.org/pub/mozilla.org/pub/mozilla/nightly/latest-trunk/os2-xpi"
endif
ifdef MOZ_OBJDIR
USE_OBJDIR = -objDir $(topsrcdir)/$(MOZ_OBJDIR)
endif
installer:
$(PERL) $(srcdir)/makeall.pl -aurl $(INSTALLER_URL)
$(PERL) $(srcdir)/makeall.pl -aurl $(INSTALLER_URL) $(USE_OBJDIR)
include $(topsrcdir)/config/rules.mk