Ignore:
Timestamp:
2009-03-26T20:34:46+13:00 (15 years ago)
Author:
ak19
Message:

Making the apache webserver relocatable for the release-kit. 1. Modified the configure file so that it configures the apache webserver using the with-layout flag set to BinaryDistribution. With this flag set, it generates shell scripts of apachectl and the rest instead of binaries, so that absolute location paths can be replaced. 2. Added new target apache-for-dist to Makefile.in that can be run for the release kit after make install to prepare the compiled up web server for relocation at a later time on a different machine (at that point the installer will call the install-bindist.sh script in the apache-httpd webserver folder upon reloaction)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/packages/Makefile.in

    r18761 r18815  
    127127          (cd $$subdir && $(MAKE) distclean || exit 0) ; \
    128128        done
     129
     130apache-for-dist:
     131    cp apache-httpd/apxs.in ${GSDLHOME}/apache-httpd/${GSDLOS}/apxs.in
     132    cp apache-httpd/install-bindist.sh ${GSDLHOME}/apache-httpd/${GSDLOS}/install-bindist.sh
     133    chmod 755 ${GSDLHOME}/apache-httpd/${GSDLOS}/install-bindist.sh
     134    for one_file in apachectl envvars envvars-std; do \
     135      sed -e "s%${GSDLHOME}/apache-httpd/${GSDLOS}%*\*\APACHE_HOME_OS\*\*%" ${GSDLHOME}/apache-httpd/${GSDLOS}/bin/$$one_file > ${GSDLHOME}/apache-httpd/${GSDLOS}/bin/$$one_file.tmp ; \
     136      mv ${GSDLHOME}/apache-httpd/${GSDLOS}/bin/$$one_file.tmp ${GSDLHOME}/apache-httpd/${GSDLOS}/bin/$$one_file ; \
     137    done
Note: See TracChangeset for help on using the changeset viewer.