r194 - / scripts

Joachim Breitner nomeata@haydn.debian.org
Thu, 10 Jun 2004 15:14:42 -0600


Author: nomeata
Date: 2004-06-10 15:14:29 -0600 (Thu, 10 Jun 2004)
New Revision: 194

Added:
   scripts/
   scripts/update-website
Log:
added update-website script itself (not autmatically checked out)

Added: scripts/update-website
===================================================================
--- scripts/update-website	2004-06-10 19:50:40 UTC (rev 193)
+++ scripts/update-website	2004-06-10 21:14:29 UTC (rev 194)
@@ -0,0 +1,38 @@
+#!/bin/bash
+# © 2004 Joachim Breitner <nomeata@debian.org>
+
+# Permission is hereby granted, free of charge, to any person obtaining a copy of
+# this software and associated documentation files (the "Software"), to deal in
+# the Software without restriction, including without limitation the rights to
+# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+# the Software, and to permit persons to whom the Software is furnished to do so,
+# subject to the following conditions:
+# 
+# The above copyright notice and this permission notice shall be included in all
+# copies or substantial portions of the Software.
+# 
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+# Place this script somewhere where it can be executed in SVN's post-commit hook
+
+HTDOCS=/org/alioth.debian.org/chroot/home/groups/pkg-perl/htdocs
+REPOSITORY=file:///svn/pkg-perl/website
+
+umask 002
+
+rm -rf $HTDOCS
+svn export $REPOSITORY $HTDOCS 
+
+# Enter here commands for automatical stuff
+cd $HTDOCS
+
+for file in *.pod
+do
+  pod2html --infile "$file" --outfile "$(basename "$file" .pod).html" \
+           --title "HTMLized version of $file"
+done


Property changes on: scripts/update-website
___________________________________________________________________
Name: svn:executable
   + *