Changeset 18756
- Timestamp:
- 2009-03-23T17:02:17+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/GSI-Makefile
r18735 r18756 40 40 41 41 configure-cgi: test-gsdlhome 42 @ echo "Configuring cgi-bin/gsdlsite.cfg" ; 43 @ sed "s@\*\*GSDLHOME\*\*@${GSDLHOME}@g" cgi-bin/gsdlsite.cfg.in > cgi-bin/gsdlsite.cfg ; 44 42 @ if test ! -e ${GSDLHOME}/cgi-bin/gsdlsite.cfg ; then \ 43 echo "Configuring cgi-bin/gsdlsite.cfg" ; \ 44 sed "s@\*\*GSDLHOME\*\*@${GSDLHOME}@g" cgi-bin/gsdlsite.cfg.in > cgi-bin/gsdlsite.cfg ; \ 45 else \ 46 echo "WARNING: Nothing done for make configure-cgi." ; \ 47 echo " If you wish to regenerate the file " ; \ 48 echo " ${GSDLHOME}/cgi-bin/gsdlsite.cfg" ; \ 49 echo " from scratch, delete the existing file first." ; \ 50 fi 45 51 46 52 configure-admin: test-gsdlhome … … 64 70 make -f GSI-Makefile web-stop-tested ; \ 65 71 echo "Setting config file to use port $$port"; \ 66 cat "${GSDLHOME}/apache-httpd/ conf/httpd.conf.in" \72 cat "${GSDLHOME}/apache-httpd/${GSDLOS}/conf/httpd.conf.in" \ 67 73 | sed "s@\*\*PORT\*\*@$$port@g" \ 68 74 | sed "s@\*\*GSDLHOME\*\*@${GSDLHOME}@g" \ 69 > "${GSDLHOME}/apache-httpd/ conf/httpd.conf" ; \75 > "${GSDLHOME}/apache-httpd/${GSDLOS}/conf/httpd.conf" ; \ 70 76 if test -e Makefile ; then \ 71 77 echo "Type 'make web-start' to start the web server running on port $$port" ; \ … … 86 92 @ ( port=`egrep "^apache.port" ${GSDLHOME}/lib/java/build.properties | awk -F= '{print $$2}'` ; \ 87 93 echo $$port | make -f GSI-Makefile configure-port ; ) 88 @ if test -e "${GSDLHOME}/apache-httpd/ conf/httpd.conf" ; then \94 @ if test -e "${GSDLHOME}/apache-httpd/${GSDLOS}/conf/httpd.conf" ; then \ 89 95 echo $(MONITOR_SUCCESS); \ 90 96 else \ … … 119 125 @# been done. This avoids a unnecessary repetition of printing 120 126 @# out the values of GSDLHOME and GSDLOS 121 @ if test -e "${GSDLHOME}/apache-httpd/ conf/httpd.conf" ; then \127 @ if test -e "${GSDLHOME}/apache-httpd/${GSDLOS}/conf/httpd.conf" ; then \ 122 128 ${GSDLHOME}/apache-httpd/${GSDLOS}/bin/apachectl stop ; \ 123 129 fi
Note:
See TracChangeset
for help on using the changeset viewer.