]> granicus.if.org Git - apache/commitdiff
get some hardcoded paths out of apxs
authorJeff Trawick <trawick@apache.org>
Wed, 13 Mar 2002 18:02:02 +0000 (18:02 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 13 Mar 2002 18:02:02 +0000 (18:02 +0000)
PR:          10163 (but PR isn't completely solved with this commit)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93908 13f79535-47bb-0310-9956-ffa450edef68

support/apxs.in

index 8b805a9153c9a6b30c893df69133ed93bb4773d6..b6524c3008ceda5aef19aae27493a2c9278233f8 100644 (file)
@@ -320,6 +320,7 @@ if ($opt_g) {
     my $data = join('', <DATA>);
     $data =~ s|%NAME%|$name|sg;
     $data =~ s|%TARGET%|$CFG_TARGET|sg;
+    $data =~ s|%PREFIX%|$prefix|sg;
 
     my ($mkf, $mods, $src) = ($data =~ m|^(.+)-=#=-\n(.+)-=#=-\n(.+)|s);
 
@@ -586,9 +587,9 @@ __DATA__
 ##
 
 builddir=$(shell pwd)
-top_srcdir=/home/rbb/apachebin4
-top_builddir=/home/rbb/apachebin4/build
-include /home/rbb/apachebin4/build/special.mk
+top_srcdir=%PREFIX%
+top_builddir=%PREFIX%
+include %PREFIX%/build/special.mk
 
 #   the used tools
 APXS=apxs