Bug 463417 - import win32 nsinstall source into mozilla-central, build by default on win32; (Bv1-CC) Copy (the useful part of) it to comm-central, Copy bug 505574 too.
r=Callek. Bug 505574 - OS/2 nsinstall.exe from moztools fails to install test directories recursively (after bug463417)
This commit is contained in:
Родитель
896c5d445f
Коммит
8af9be6e2c
|
@ -756,15 +756,11 @@ endif
|
|||
ifdef NSINSTALL_BIN
|
||||
NSINSTALL = $(CYGWIN_WRAPPER) $(NSINSTALL_BIN)
|
||||
else
|
||||
ifeq (WINNT,$(CROSS_COMPILE)$(OS_ARCH))
|
||||
NSINSTALL = $(CYGWIN_WRAPPER) $(MOZ_TOOLS_DIR)/bin/nsinstall
|
||||
else
|
||||
ifeq (OS2,$(CROSS_COMPILE)$(OS_ARCH))
|
||||
NSINSTALL = $(MOZ_TOOLS_DIR)/nsinstall
|
||||
else
|
||||
NSINSTALL = $(CONFIG_TOOLS)/nsinstall
|
||||
endif # OS2
|
||||
endif # WINNT
|
||||
endif # NSINSTALL_BIN
|
||||
|
||||
|
||||
|
|
|
@ -127,8 +127,8 @@ endif
|
|||
testxpcobjdir = $(MOZDEPTH)/_tests/xpcshell
|
||||
|
||||
# Test file installation
|
||||
ifdef NSINSTALL_BIN
|
||||
# nsinstall in moztools can't recursively copy directories, so use nsinstall.py
|
||||
ifneq (,$(filter WINNT os2-emx,$(HOST_OS_ARCH)))
|
||||
# Windows and OS/2 nsinstall can't recursively copy directories, so use nsinstall.py
|
||||
TEST_INSTALLER = $(PYTHON) $(MOZILLA_SRCDIR)/config/nsinstall.py
|
||||
else
|
||||
TEST_INSTALLER = $(INSTALL)
|
||||
|
|
|
@ -861,12 +861,9 @@ if test -z "$PYTHON"; then
|
|||
AC_MSG_ERROR([python was not found in \$PATH])
|
||||
fi
|
||||
|
||||
AC_PATH_PROGS(NSINSTALL_BIN, nsinstall )
|
||||
if test -z "$COMPILE_ENVIRONMENT"; then
|
||||
if test -z "$NSINSTALL_BIN" || test "$NSINSTALL_BIN" = ":"; then
|
||||
NSINSTALL_BIN='$(PYTHON) $(MOZILLA_SRCDIR)/config/nsinstall.py'
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(NSINSTALL_BIN)
|
||||
|
||||
AC_PATH_PROG(DOXYGEN, doxygen, :)
|
||||
|
|
Загрузка…
Ссылка в новой задаче