r6893 - /scripts/update-website
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Fri Aug 17 20:42:41 UTC 2007
Author: dmn
Date: Fri Aug 17 20:42:41 2007
New Revision: 6893
URL: http://svn.debian.org/wsvn/?sc=1&rev=6893
Log:
run pod2html only when .pod is newer that .html
Modified:
scripts/update-website
Modified: scripts/update-website
URL: http://svn.debian.org/wsvn/scripts/update-website?rev=6893&op=diff
==============================================================================
--- scripts/update-website (original)
+++ scripts/update-website Fri Aug 17 20:42:41 2007
@@ -33,6 +33,9 @@
for file in *.pod
do
- pod2html --infile "$file" --outfile "$(basename "$file" .pod).html" \
- --title "HTMLized version of $file"
+ html=$(basename "$file" .pod).html
+ if [ "$file" -nt "$html" ]; then
+ pod2html --infile "$file" --outfile "$html" \
+ --title "HTMLized version of $file"
+ fi
done
More information about the Pkg-perl-cvs-commits
mailing list