From 2414fc8ec066b80d07571beb090683442be0d4e2 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Fri, 12 Jan 2001 03:38:28 +0000 Subject: Build was broken on some pure unixish awks, this fixes. 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 | 6 +++--- Makefile.win | 15 +++++++++------ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/InstallBin.dsp b/InstallBin.dsp index 5e68621566..691cc9ba92 100644 --- a/InstallBin.dsp +++ b/InstallBin.dsp @@ -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 "" diff --git a/Makefile.win b/Makefile.win index 2041c6091c..50a828457e 100644 --- a/Makefile.win +++ b/Makefile.win @@ -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 <"$(INSTDIR)\bin\dbmmanage.pl" + awk -f <"$(INSTDIR)/bin/dbmmanage.pl" { if ( $$0 !~ /^#.*-lsdbm/) { gsub( /AnyDBM_File::ISA = qw\(.*\)/, "AnyDBM_File::ISA = qw(SDBM_File)" ); print $$0; -- cgit v1.2.3