httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-1.3/src makefile.win
Date Mon, 18 Dec 2000 23:41:44 GMT
wrowe       00/12/18 15:41:43

  Modified:    src      makefile.win
  Log:
    The awk update for Win32 build/install.  If awk is not installed, only
    dbmmmanage.pl, httpd.default.conf and httpd.conf are left uncreated.
    Note the -xcopy ..\htdocs $(INSTDIR)\htdocs /sdy will not copy existing
    files, and will ignore the cyclic copy error resulting from installing
    into the build tree.
  
  Revision  Changes    Path
  1.10      +35 -1     apache-1.3/src/makefile.win
  
  Index: makefile.win
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/makefile.win,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- makefile.win	2000/12/15 17:50:44	1.9
  +++ makefile.win	2000/12/18 23:41:43	1.10
  @@ -115,6 +115,7 @@
   _install:
   	-mkdir $(INSTDIR)
   	-mkdir $(INSTDIR)\modules
  +        -mkdir $(INSTDIR)\htdocs
   	-mkdir $(INSTDIR)\proxy
   	-mkdir $(INSTDIR)\logs
   	-mkdir $(INSTDIR)\conf
  @@ -141,7 +142,40 @@
   	copy support\$(LONG)\htdigest.exe $(INSTDIR)\bin
   	copy support\$(LONG)\logresolve.exe $(INSTDIR)\bin
   	copy support\$(LONG)\rotatelogs.exe $(INSTDIR)\bin
  -        copy support\dbmmanage $(INSTDIR)\bin\dbmmanage.pl
  +        -xcopy ..\htdocs $(INSTDIR)\htdocs /sdy
  +        copy ..\conf\magic $(INSTDIR)\conf\magic.default
  +        if not exist $(INSTDIR)\conf\magic \
  +            copy $(INSTDIR)\conf\magic.default $(INSTDIR)\conf\magic
  +        copy ..\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
  +	copy ..\conf\access.conf-dist $(INSTDIR)\conf\access.default.conf
  +	if not exist $(INSTDIR)\conf\access.conf \
  +            copy $(INSTDIR)\conf\access.default.conf $(INSTDIR)\conf\access.conf
  +	copy ..\conf\srm.conf-dist $(INSTDIR)\conf\srm.default.conf
  +	if not exist $(INSTDIR)\conf\srm.conf \
  +            copy $(INSTDIR)\conf\srm.default.conf $(INSTDIR)\conf\srm.conf
  +	awk -f << ..\conf\httpd.conf-dist-win $(INSTDIR)\conf\httpd.default.conf $(INSTDIR)
  +    BEGIN { 
  +        srcfl = ARGV[1];
  +        dstfl = ARGV[2];
  +        serverroot = ARGV[3];
  +        gsub( /\\/, "/", serverroot );
  +        print "" > dstfl;
  +        while ( ( getline < srcfl ) > 0 ) {
  +            gsub( /@@ServerRoot@@/, serverroot );
  +            print $$0 >> dstfl;
  +        }
  +    }
  +<<
  +	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
  +    { if ( $$0 !~ /^#.*-lsdbm/) {
  +          gsub( /AnyDBM_File::ISA = qw\(.*\)/, "AnyDBM_File::ISA = qw(SDBM_File)" ); 
  +          print $$0 
  +      } 
  +    }
  +<<
   
   _installdll:
    	cd os\win32\installer\installdll
  
  
  

Mime
View raw message