Show
Ignore:
Timestamp:
15.12.2011 14:40:07 (8 years ago)
Author:
ak19
Message:

GSDLARCH used in Windows makefiles (and gsicontrol.bat) when working out the cgi-bin path (now cgi-bin\GSDL_OS_ARCH) to install the binaries like library.cgi and oaiserver.cgi into.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/cgi-bin/win32.mak

    r24880 r24902  
    3838DLLDEBUG = 0 
    3939 
     40CGIDIR="$(GSDLHOME)\cgi-bin\windows" 
     41!IF "$(PROCESSOR_ARCHITECTURE)"==""  
     42CGIDIR=$(GSDLHOME)\cgi-bin\windows 
     43!ELSE IF EXIST ("$(GSDLHOME)\bin\windows") 
     44CGIDIR=$(GSDLHOME)\cgi-bin\windows 
     45!ELSE IF "$(PROCESSOR_ARCHITECTURE)"=="x86"  
     46CGIDIR=$(GSDLHOME)\cgi-bin\windows32 
     47!ELSE 
     48CGIDIR=$(GSDLHOME)\cgi-bin\windows64 
     49!ENDIF 
    4050 
    41 all: 
    42     if not exist "$(GSDLHOME)\cgi-bin\windows" mkdir "$(GSDLHOME)\cgi-bin\windows"  
    43     for %%i in ("$(COMMON_DIR)\cgi-bin") do copy %%i "$(GSDLHOME)\cgi-bin\windows\." 
    44     for %%i in (Makefile.in Makefile win32.mak) do if exist "$(GSDLHOME)\cgi-bin\windows\%%i" del "$(GSDLHOME)\cgi-bin\windows\%%i"  
     51all:     
     52    if not exist "$(CGIDIR)" mkdir "$(CGIDIR)"  
     53    for %%i in ("$(COMMON_DIR)\cgi-bin") do copy %%i "$(CGIDIR)\." 
     54    for %%i in (Makefile.in Makefile win32.mak) do if exist "$(CGIDIR)\%%i" del "$(CGIDIR)\%%i"  
    4555 
    4656clean: 
    47     if exist "$(GSDLHOME)\cgi-bin\windows" rmdir /S "$(GSDLHOME)\cgi-bin\windows" 
     57    if exist "$(CGIDIR)" rmdir /S "$(CGIDIR)" 
    4858 
    4959install: