r11748 - /scripts/update-website

rra at users.alioth.debian.org rra at users.alioth.debian.org
Thu Dec 27 01:22:32 UTC 2007


Author: rra
Date: Thu Dec 27 01:22:32 2007
New Revision: 11748

URL: http://svn.debian.org/wsvn/?sc=1&rev=11748
Log:
Handle *.pod files in the howto directory too.

Modified:
    scripts/update-website

Modified: scripts/update-website
URL: http://svn.debian.org/wsvn/scripts/update-website?rev=11748&op=diff
==============================================================================
--- scripts/update-website (original)
+++ scripts/update-website Thu Dec 27 01:22:32 2007
@@ -31,9 +31,9 @@
 # Enter here commands for automatical stuff
 cd $HTDOCS
 
-for file in *.pod
+for file in *.pod howto/*.pod
 do
-  html=$(basename "$file" .pod).html
+  html=$(echo "$file" | sed 's/\.pod$/.html/')
   if [ "$file" -nt "$html" ]; then
     pod2html --infile "$file" --outfile "$html" \
              --title "HTMLized version of $file"




More information about the Pkg-perl-cvs-commits mailing list