Changeset 1715


Ignore:
Timestamp:
2000-11-29T14:57:41+13:00 (23 years ago)
Author:
jrm21
Message:

yaz library is now made by packages/Makefile instead of from src/recpt/Makefile

Location:
trunk/gsdl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/packages/Makefile

    r1704 r1715  
    3030# clean, and distclean.
    3131
    32 PACKAGEDIRS = unix/wv/wv-0.6.0-gs wget/wget-1.5.3
     32PACKAGEDIRS = unix/wv/wv-0.6.0-gs  wget/wget-1.5.3  yaz
    3333
    3434all:
     
    5555          (cd $$subdir && if test -e Makefile; then $(MAKE) distclean;fi) || exit 1; \
    5656        done
    57 
  • trunk/gsdl/packages/configure

    r1704 r1715  
    77GSDLOS=`uname | tr A-Z a-z`
    88
     9# parse any arguments given from toplevel configure
     10while test $# -ne 0; do
     11    case "$1" in
     12    --cache-file=*)
     13        cache_filename=`echo $1 | sed s/--cache-file=//`
     14        # turn relative path into an absolute path
     15        cache_dir=`echo $cache_filename | sed 's@/[^/]*$@@'`
     16        cache_dir=`cd $cache_dir 2>/dev/null && pwd`
     17
     18        cache_basefile=`echo $cache_filename | sed 's@.*/@@'`
     19        cache_file="$cache_dir/$cache_basefile"
     20        if test ! -f "$cache_file"; then
     21        CACHE_FILE=""
     22        else
     23        CACHE_FILE="--cache-file=$cache_file"
     24        fi
     25        ;;
     26    *)
     27        # ignore all other options for now
     28        ;;
     29    esac
     30    shift
     31done
     32
     33
     34
    935# configure the wvWare Word document converter
    1036echo ""
     
    1238echo ""
    1339
    14 cd $PACKAGES/unix/wv
     40cd "$PACKAGES/unix/wv"
    1541tar -xzf wv-0.6.0-gs.tar.gz
    1642cd wv-0.6.0-gs
    17 ./configure --prefix=$PACKAGES/unix/wv
     43./configure $CACHE_FILE --prefix=$PACKAGES/unix/wv
     44
     45
     46# YAZ Z39.50 toolkit
     47echo ""
     48echo "Configuring YAZ"
     49echo ""
     50cd "$PACKAGES/yaz"
     51./configure $CACHE_FILE
    1852
    1953
     
    2256echo "Configuring wget"
    2357echo ""
    24 
    2558cd $PACKAGES/wget
    2659tar -xzf wget.tar.gz
    2760cd $PACKAGES/wget/wget-1.5.3
    28 ./configure --prefix=$PACKAGES/wget --bindir=$GSDLHOME/bin/$GSDLOS
     61./configure $CACHE_FILE --prefix=$PACKAGES/wget --bindir=$GSDLHOME/bin/$GSDLOS
  • trunk/gsdl/src/recpt/Makefile.in

    r1643 r1715  
    158158    cd $(YAZDIR)/client &&  make yaz_zclient.o
    159159
     160# this should be done by the top level makefile...
    160161$(YAZDIR)/lib/libyaz.a:
    161     cd $(YAZDIR) && ./configure && make all
     162    cd $(YAZDIR) && make all
    162163
    163164# put a separate rule here, as it speeds up compilation of other objects
     
    182183distclean:
    183184    rm -f $(OBJECTS) $(EXEC) $(PARSE_TMPFILES) Makefile
    184     (cd $(YAZDIR) && make distclean)
    185185
    186186clean:
    187187    rm -f $(OBJECTS) $(EXEC) $(PARSE_TMPFILES)
    188     (cd $(YAZDIR) && make clean)
    189188
    190189install:
Note: See TracChangeset for help on using the changeset viewer.