You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/04/26 20:56:16 UTC
cvs commit: httpd-2.0/build install-bindist.sh.in
trawick 02/04/26 11:56:16
Modified: build install-bindist.sh.in
Log:
get closer to having apxs work from a binary distribution
we need to copy libtool and instdso.sh verbatim, and we
need to edit config_vars.mk and apxs
still broken: "httpd -l" as invoked by apxs can fail since
support libraries (apr, aprutil, etc.) are probably not
findable
Revision Changes Path
1.7 +8 -3 httpd-2.0/build/install-bindist.sh.in
Index: install-bindist.sh.in
===================================================================
RCS file: /home/cvs/httpd-2.0/build/install-bindist.sh.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- install-bindist.sh.in 11 Jan 2002 13:20:55 -0000 1.6
+++ install-bindist.sh.in 26 Apr 2002 18:56:16 -0000 1.7
@@ -73,6 +73,9 @@
lmkdir $SR 755
lmkdir $SR/proxy 750
lmkdir $SR/logs 755
+lmkdir $SR/build 755
+cp -p bindist/build/libtool $SR/build
+cp -p bindist/build/instdso.sh $SR/build
lcopy bindist/man $SR/man 755 644
if [ -d bindist/modules ]
then
@@ -118,9 +121,11 @@
lcopy bindist/error $SR/error 755 644
fi
-sed -e "s;^#!/.*;#!$PERL;" -e "s;\@prefix\@;$SR;" -e "s;\@sbindir\@;$SR/bin;" \
- -e "s;\@libexecdir\@;$SR/libexec;" -e "s;\@includedir\@;$SR/include;" \
- -e "s;\@sysconfdir\@;$SR/conf;" bindist/bin/apxs > $SR/bin/apxs
+sed -e "s;^#!\@perlbin\@.*;#!$PERL;" -e "s;\@prefix\@;$SR;" \
+ support/apxs.in > $SR/bin/apxs
+PRE=`grep "^prefix = " build/config_vars.mk`
+PRE=`echo $PRE | sed -e "s;prefix = ;;"`
+sed -e "s;$PRE;$SR;" build/config_vars.mk > $SR/build/config_vars.mk
sed -e "s;^#!/.*;#!$PERL;" bindist/bin/dbmmanage > $SR/bin/dbmmanage
sed -e "s%@default_dir@%$SR%" \
-e "s%^HTTPD=.*$%HTTPD=\"$SR/bin/httpd -d $SR\"%" bindist/bin/apachectl > $SR/bin/apachectl