Show
Ignore:
Timestamp:
17.04.2009 15:50:29 (12 years ago)
Author:
ak19
Message:

Last remaining occurrences of original compilation pathnames in apache web server files now removed (replaced with placeholder) upon running the target make apache-for-dist, and these are replaced with the installation pathname upon installation. Now there are no tell-tale pathnames when the Installer runs, as these are replaced once again with **APACHE_OS_HOME** BEFORE the installer gets the files.

Files:
1 modified

Legend:

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

    r18872 r19036  
    7272PACKAGEDIRS =   $(YAZ) $(D2M) $(CORBA)  $(HTTPD) 
    7373 
     74REPLACELIST = conf/extra/httpd-dav.conf \ 
     75    conf/extra/httpd-manual.conf \ 
     76    conf/extra/httpd-autoindex.conf \ 
     77    conf/extra/httpd-vhosts.conf \ 
     78    conf/extra/httpd-ssl.conf \ 
     79    conf/extra/httpd-multilang-errordoc.conf \ 
     80    conf/original/extra/httpd-dav.conf \ 
     81    conf/original/extra/httpd-manual.conf \ 
     82    conf/original/extra/httpd-autoindex.conf \ 
     83    conf/original/extra/httpd-vhosts.conf \ 
     84    conf/original/extra/httpd-ssl.conf \ 
     85    conf/original/extra/httpd-multilang-errordoc.conf \ 
     86    conf/original/httpd.conf\ 
     87    lib/apr-util-1/apr_dbd_odbc.la \ 
     88    lib/apr-util-1/apr_dbd_sqlite3.la \ 
     89    lib/pkgconfig/apr-util-1.pc \ 
     90    lib/pkgconfig/apr-1.pc \ 
     91    lib/libaprutil-1.la \ 
     92    lib/libapr-1.la \ 
     93    build/config_vars.mk \ 
     94    build/config.nice \ 
     95    build/apr_rules.mk \ 
     96    bin/apu-1-config \ 
     97    bin/apr-1-config \ 
     98    include/ap_config_auto.h \ 
     99    include/ap_config_layout.h 
    74100 
    75101all: 
     
    133159      chmod 755 ../../apache-httpd/$(GSDLOS)/install-bindist.sh ; \ 
    134160      gsdldir=`cd ../.. ; pwd` ; \ 
     161      pre="$$gsdldir/apache-httpd/$(GSDLOS)" ; \ 
    135162      for one_file in apachectl envvars envvars-std; do \ 
    136         sed -e "s%$$gsdldir/apache-httpd/$(GSDLOS)%*\*\APACHE_HOME_OS\*\*%" ../../apache-httpd/$(GSDLOS)/bin/$$one_file > ../../apache-httpd/$(GSDLOS)/bin/$$one_file.tmp ; \ 
    137         mv ../../apache-httpd/$(GSDLOS)/bin/$$one_file.tmp ../../apache-httpd/$(GSDLOS)/bin/$$one_file ; \ 
    138       done ; ) 
     163        sed -e "s%$$pre%*\*\APACHE_HOME_OS\*\*%" $$pre/bin/$$one_file > $$pre/bin/$$one_file.tmp ; \ 
     164        mv $$pre/bin/$$one_file.tmp $$pre/bin/$$one_file ; \ 
     165      done ; \ 
     166      for one_file in $(REPLACELIST); do \ 
     167        sed -e "s%$$pre%*\*\APACHE_HOME_OS\*\*%" "$$pre/$$one_file" > "$$pre/$$one_file.tmp" ; \ 
     168        mv "$$pre/$$one_file.tmp" "$$pre/$$one_file" ; \ 
     169      done ; \ 
     170      cat "$$pre/bin/apr-1-config" \ 
     171        | sed -e "s%^APR_SOURCE_DIR=.*%APR_SOURCE_DIR=%" \ 
     172        | sed -e "s%^APR_BUILD_DIR=.*%APR_BUILD_DIR=%" \ 
     173        > "$$pre/bin/apr-1-config.tmp" ; \ 
     174      mv "$$pre/bin/apr-1-config.tmp" "$$pre/bin/apr-1-config" ; \ 
     175      cat "$$pre/bin/apu-1-config" \ 
     176        | sed -e "s%^APU_SOURCE_DIR=.*%APU_SOURCE_DIR=%" \ 
     177        | sed -e "s%^APU_BUILD_DIR=.*%APU_BUILD_DIR=%" \ 
     178        > "$$pre/bin/apu-1-config.tmp" ; \ 
     179      mv "$$pre/bin/apu-1-config.tmp" "$$pre/bin/apu-1-config" ; \ 
     180      sed -e "s%^EXTRA_INCLUDES\s*=.*%EXTRA_INCLUDES=%" "$$pre/build/config_vars.mk" > "$$pre/build/config_vars.mk.tmp" ; \ 
     181      mv "$$pre/build/config_vars.mk.tmp" "$$pre/build/config_vars.mk" ; )