perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/bin site_build
Date Mon, 27 Jan 2003 23:00:48 GMT
stas        2003/01/27 15:00:48

  Modified:    bin      site_build
  Log:
  support the verbose mode
  
  Revision  Changes    Path
  1.9       +5 -3      modperl-docs/bin/site_build
  
  Index: site_build
  ===================================================================
  RCS file: /home/cvs/modperl-docs/bin/site_build,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- site_build	21 Nov 2002 19:50:33 -0000	1.8
  +++ site_build	27 Jan 2003 23:00:48 -0000	1.9
  @@ -3,9 +3,10 @@
   #
   # this script does different things depending on how it was named (or
   # a symlink) if the name includes:
  -# force - the whole site is rebuilt
  -# pdf   - builds pdfs
  -# index - builds the index
  +# force   - the whole site is rebuilt
  +# pdf     - builds pdfs
  +# index   - builds the index
  +# verbose - turn the verbose mode on
   #
   # the easiest way is to use symlinks to the same script
   #
  @@ -45,6 +46,7 @@
       my $flags = '';
       $flags .= 'f' if $name =~ /force/;
       $flags .= 'd' if $name =~ /pdf/;
  +    $flags .= 'v' if $name =~ /verbose/;
       $flags = $flags ? "-$flags" : "";
   
       system("cvs up -dP >/dev/null 2>&1");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message