httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0 Makefile.win
Date Thu, 26 Jul 2001 19:26:23 GMT
wrowe       01/07/26 12:26:23

  Modified:    .        Makefile.win
  Log:
    Add some logic that gets us over the hump of a missing awk (copying the
    files with no editing whatsoever.)  Also sets up the shebang for
    printenv.pl, and drops in the test-cgi.bat script.
  
  Revision  Changes    Path
  1.59      +17 -1     httpd-2.0/Makefile.win
  
  Index: Makefile.win
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/Makefile.win,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- Makefile.win	2001/07/26 18:28:06	1.58
  +++ Makefile.win	2001/07/26 19:26:23	1.59
  @@ -181,6 +181,21 @@
   	copy support\$(LONG)\logresolve.exe "$(INSTDIR)\bin"
   	copy support\$(LONG)\rotatelogs.exe "$(INSTDIR)\bin"
           copy docs\cgi-examples\printenv "$(INSTDIR)\cgi-bin\printenv.pl"
  +	-awk -f <<script.awk "docs\cgi-examples\printenv" "$(INSTDIR)\cgi-bin\printenv.pl"
  +    BEGIN { 
  +        srcfl = ARGV[1];
  +        dstfl = ARGV[2];
  +        if ( "perl -e \"print $$^X;\"" | getline perlroot ) {
  +            gsub( /\\/, "/", perlroot );
  +            print "#!" perlroot > dstfl;
  +            getline < srcfl;
  +        }
  +        while ( ( getline < srcfl ) > 0 ) {
  +            print $$0 > dstfl;
  +        }
  +    }
  +<<
  +        copy docs\cgi-examples\test-cgi.bat "$(INSTDIR)\cgi-bin"
           xcopy docs\docroot "$(INSTDIR)\htdocs" /d < <<
   A
   <<
  @@ -220,7 +235,8 @@
           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 <<script.awk "docs\conf\httpd-win.conf" "$(INSTDIR)\conf\httpd.default.conf"
"$(INSTDIR)"
  +	copy docs\conf\httpd-win.conf "$(INSTDIR)\conf\httpd.default.conf"
  +	-awk -f <<script.awk "docs\conf\httpd-win.conf" "$(INSTDIR)\conf\httpd.default.conf"
"$(INSTDIR)"
       BEGIN { 
           srcfl = ARGV[1];
           dstfl = ARGV[2];
  
  
  

Mime
View raw message