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:
Serge Gautherie 2010-02-24 09:16:08 +01:00
Родитель 896c5d445f
Коммит 8af9be6e2c
3 изменённых файлов: 2 добавлений и 9 удалений

Просмотреть файл

@ -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, :)