stas        2003/01/31 23:39:43

  Modified:    lib/Apache Build.pm
  Log:
  - create MKPATH make variable as we are going to use it more than once
    there is no need to test for the existance of the path, before calling
    mkpath(), it does no harm if the dir already exists
  - use the MKPATH variable
  
  Revision  Changes    Path
  1.110     +3 -3      modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- Build.pm  14 Dec 2002 17:29:34 -0000      1.109
  +++ Build.pm  1 Feb 2003 07:39:43 -0000       1.110
  @@ -1052,14 +1052,14 @@
   
   MODPERL_PIC_OBJS = $(MODPERL_O_PIC_FILES) $(MODPERL_XS_O_PIC_FILES)
   
  +MKPATH = $(MODPERL_PERLPATH) "-MExtUtils::Command" -e mkpath
  +
   all: lib
   
   lib: $(MODPERL_LIB)
   
   install:
  -     $(MODPERL_PERLPATH) -e "exit ! -d qq{$(MODPERL_AP_LIBEXECDIR)}" || \
  -     $(MODPERL_PERLPATH) -MExtUtils::Command  \
  -     -e mkpath $(MODPERL_AP_LIBEXECDIR)
  +     @$(MKPATH) $(MODPERL_AP_LIBEXECDIR)
        $(MODPERL_TEST_F) $(MODPERL_LIB_DSO) && \
        $(MODPERL_CP) $(MODPERL_LIB_DSO) $(MODPERL_AP_LIBEXECDIR)
   
  
  
  


Reply via email to