Set INSTALL properly for win32 & OS/2. r=bryner NSPRPUB_CLIENT_BRANCH
authorcls%seawood.org
Wed, 24 Jan 2001 10:14:07 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1695 b50ba03eb6e122d09b1426b5088fa94e5c95a2e1
parent 1693 277d1fda0f88d29ee44691914e97ecee51bb0233
child 1696 26f161ed3dde1c92195589aa67ae7319865c1544
child 1697 a245acf7e16f5588eb6c59aee24bc438e31de3c5
push idunknown
push userunknown
push dateunknown
reviewersbryner
Set INSTALL properly for win32 & OS/2. r=bryner
config/config.mk
--- a/config/config.mk
+++ b/config/config.mk
@@ -57,28 +57,32 @@ NOMD_CCFLAGS	= $(CCC_ONLY_FLAGS) $(OPTIM
 LDFLAGS		= $(OS_LDFLAGS)
 
 define MAKE_OBJDIR
 if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
 endef
 
 LINK_DLL	= $(LD) $(OS_DLLFLAGS) $(DLLFLAGS)
 
+ifneq (,$(filter WINNT OS2, $(OS_ARCH)))
+INSTALL		= $(NSINSTALL)
+else
 ifeq ($(NSDISTMODE),copy)
 # copy files, but preserve source mtime
 INSTALL		= $(NSINSTALL) -t
 else
 ifeq ($(NSDISTMODE),absolute_symlink)
 # install using absolute symbolic links
 INSTALL		= $(NSINSTALL) -L `$(NFSPWD)`
 else
 # install using relative symbolic links
 INSTALL		= $(NSINSTALL) -R
 endif
 endif
+endif # WINNT || OS2
 
 ifdef BUILD_DEBUG_GC
 DEFINES		+= -DDEBUG_GC
 endif
 
 GARBAGE		+= $(DEPENDENCIES) core $(wildcard core.[0-9]*)
 
 ifdef USE_AUTOCONF