]> granicus.if.org Git - apache/commitdiff
Build was broken on some pure unixish awks, this fixes.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 12 Jan 2001 03:38:28 +0000 (03:38 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 12 Jan 2001 03:38:28 +0000 (03:38 +0000)
Obtained from: new-httpd
Submitted by: Roman Neuhauser

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

InstallBin.dsp
Makefile.win

index 5e68621566ee03564f8e9a9f358506307697549e..691cc9ba92f9b8c95c08195faa81a4f797c84bb9 100644 (file)
@@ -39,7 +39,7 @@ CFG=InstallBin - Win32 Debug
 # PROP Use_Debug_Libraries 0
 # PROP Output_Dir "Release"
 # PROP Intermediate_Dir "Release"
-# PROP Cmd_Line "NMAKE /f makefile.win INSTDIR="\Apache2.0" SHORT=R LONG=Release _install"
+# PROP Cmd_Line "NMAKE /f makefile.win INSTDIR="/Apache2.0" SHORT=R LONG=Release _install"
 # PROP Rebuild_Opt ""
 # PROP Target_File "\Apache2.0\Apache.exe"
 # PROP Bsc_Name ""
@@ -58,9 +58,9 @@ CFG=InstallBin - Win32 Debug
 # PROP Use_Debug_Libraries 1
 # PROP Output_Dir "Debug"
 # PROP Intermediate_Dir "Debug"
-# PROP Cmd_Line "NMAKE /f makefile.win INSTDIR="\Apache2.0" SHORT=D LONG=Debug _install"
+# PROP Cmd_Line "NMAKE /f makefile.win INSTDIR="/Apache2.0" SHORT=D LONG=Debug _install"
 # PROP Rebuild_Opt ""
-# PROP Target_File "\Apache2.0\Apache.exe"
+# PROP Target_File "/Apache-2.0/Apache.exe"
 # PROP Bsc_Name ""
 # PROP Target_Dir ""
 
index 2041c6091c3962a8c3b37399cc4b591d8b112b05..50a828457ec0094e37384f2549161c90fb91dedb 100644 (file)
@@ -9,16 +9,19 @@
 #   _cleanr    - remove (most) files generated by a Release build
 #   _cleand    - remove (most) files generated by a Debug build
 #
-# The default installation directory is \Apache. This can be changed
+# The default installation directory is /Apache2.0. This can be changed
 # with the INSTDIR macro, for example:
 #
-#   nmake /f Makefile.win INSTDIR="d:\Program Files\Apache" installr
+#   nmake /f Makefile.win INSTDIR="d:/Program Files/Apache" installr
 #
 # Note: this does *NOT* change the compiled in default "server root"
+# Also be aware that certain awk's will not accept backslahed names,
+# so the server root should be given in forward slashes (quoted),
+# preferably with the drive designation!
 
 !IF "$(INSTDIR)" == ""
-INSTDIR=\Apache
-!MESSAGE Using default install directory \Apache
+INSTDIR=/Apache2.0
+!MESSAGE Using default install directory /Apache2.0
 !ENDIF 
 
 !IFNDEF MAKEOPT
@@ -210,7 +213,7 @@ A
         copy docs\conf\mime.types "$(INSTDIR)\conf\mime.types.default"
         if not exist "$(INSTDIR)\conf\mime.types" \
             copy "$(INSTDIR)\conf\mime.types.default" "$(INSTDIR)\conf\mime.types"
-       awk -f << docs\conf\httpd-win.conf "$(INSTDIR)\conf\httpd.default.conf" "$(INSTDIR)"
+       awk -f <<script.awk docs/conf/httpd-win.conf "$(INSTDIR)/conf/httpd.default.conf" "$(INSTDIR)"
     BEGIN { 
         srcfl = ARGV[1];
         dstfl = ARGV[2];
@@ -224,7 +227,7 @@ A
 <<
        if not exist "$(INSTDIR)\conf\httpd.conf" \
             copy "$(INSTDIR)\conf\httpd.default.conf" "$(INSTDIR)\conf\httpd.conf"
-       awk -f << support\dbmmanage >"$(INSTDIR)\bin\dbmmanage.pl"
+       awk -f <<script.awk support/dbmmanage >"$(INSTDIR)/bin/dbmmanage.pl"
     { if ( $$0 !~ /^#.*-lsdbm/) {
           gsub( /AnyDBM_File::ISA = qw\(.*\)/, "AnyDBM_File::ISA = qw(SDBM_File)" ); 
           print $$0;