Ignore:
Timestamp:
2010-08-24T16:58:15+12:00 (14 years ago)
Author:
mdewsnip
Message:

Instead of having two copies of expat in Greenstone (one for Linux and one for Windows), added Windows makefiles into the version in common-src/packages/expat. This means we can remove the Windows-only version in common-src/packages/windows/expat, and also means that expat now works the same as SQLite.

File:
1 edited

Legend:

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

    r22090 r22766  
    5151
    5252COMPILEDIRS = packages\windows\crypt\crypt \
    53           packages\windows\expat\expat packages\search4j src\lib
     53          packages\expat packages\search4j src\lib
    5454
    5555INSTALLDIRS =
     
    5959PACKAGEDIRS =
    6060
     61EXPAT_DIR = packages\expat\expat-1.95.8
    6162SQLITE_DIR = packages\sqlite\sqlite-amalgamation-3.6.23.1
    6263JDBM_DIR = packages\jdbm
     
    136137    if NOT EXIST "crypt" unzip crypt.zip
    137138    cd "$(COMMONHOME)"
    138     cd packages\windows\expat
    139     if NOT EXIST "expat" unzip expat.zip
     139    cd packages\expat
     140    IF NOT EXIST $(EXPAT_DIR) IF EXIST "$(GSDLHOME)\bin\windows\gunzip.exe" IF EXIST "$(GSDLHOME)\bin\windows\tar.exe" "$(GSDLHOME)\bin\windows\gunzip.exe" -cd "$(EXPAT_DIR).tar.gz" | "$(GSDLHOME)\bin\windows\tar.exe" xv --directory=./packages/expat
     141    @IF NOT EXIST $(EXPAT_DIR) echo ****** Couldn't extract archive $(EXPAT_DIR).tar.gz. Extract it manually, or check that gunzip.exe and tar.exe exist in GSDLHOME\bin\windows. ******
     142    @IF NOT EXIST $(EXPAT_DIR) exit /b 1
    140143    cd "$(COMMONHOME)"
    141144    cd indexers\packages\windows\iconv
     
    166169!ENDIF
    167170    cd "$(COMMONHOME)"
    168     cd packages\windows\expat\expat
     171    cd packages\expat
    169172    $(MAKECLEANCMD)
    170173    cd "$(COMMONHOME)"
Note: See TracChangeset for help on using the changeset viewer.