Changeset 18475 for gsdl

Show
Ignore:
Timestamp:
09.02.2009 15:45:02 (11 years ago)
Author:
davidb
Message:

cgi-bin/gsdlsite.cfg can be automatically generated from cgi-bin/gsdlsite.cfg.in (substituting **GSDLHOME** for the value of $GSDLHOME) by running 'make configure-cgi'

Location:
gsdl/trunk
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/Makefile.in

    r16572 r18475  
    6868    done 
    6969 
     70configure-cgi: 
     71    @if test ! -z "$(GSDLHOME)" ; then \ 
     72      echo "Configuring cgi-bin/gsdlsite.cfg" ; \ 
     73      sed "s@\*\*GSDLHOME\*\*@$(GSDLHOME)@g" cgi-bin/gsdlsite.cfg.in > cgi-bin/gsdlsite.cfg ; \ 
     74    else \ 
     75      echo "Environment variable GSDLHOME not set.  Have you run 'source setup.bash'?" ; \ 
     76    fi 
     77 
     78 
    7079distclean: clean 
    7180    rm -f Makefile config.cache config.h config.log stamp-h config.status