[Commits] python.it commit r187 - www/branches/python/scripts

commit a svn.python.it commit a svn.python.it
Dom 25 Giu 2006 21:14:07 CEST


Author: manlio
Date: Sun Jun 25 21:14:06 2006
New Revision: 187

Added:
   www/branches/python/scripts/rsync.sh   (contents, props changed)
Modified:
   www/branches/python/scripts/compila_sito.sh
Log:
scripts per la compilazione del sito con copia remota

Modified: www/branches/python/scripts/compila_sito.sh
==============================================================================
--- www/branches/python/scripts/compila_sito.sh	(original)
+++ www/branches/python/scripts/compila_sito.sh	Sun Jun 25 21:14:06 2006
@@ -1,51 +1,56 @@
 #! /usr/bin/env sh
 
-./ht2html.py -r . -s PDOGenerator *.ht 
+# XXX TODO
+HT2HTML=ht2html.py
+HTSTYLE=PDONewGenerator
+
+
+$HT2HTML -r . -s $HTSTYLE *.ht 
 
 cd help
-../ht2html.py -r .. -s PDOGenerator *.ht
+$HT2HTML -r .. -s $HTSTYLE *.ht
 
 cd ../vari
-../ht2html.py -r .. -s PDOGenerator *.ht
+$HT2HTML -r .. -s $HTSTYLE *.ht
 
 cd ../faq
-../ht2html.py -r .. -s PDOGenerator *.ht
+$HT2HTML -r .. -s $HTSTYLE *.ht
 
 cd ../topics
-../ht2html.py -r .. -s PDOGenerator *.ht
+$HT2HTML -r .. -s $HTSTYLE *.ht
 
 cd ../topics/database
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../topics/gui
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../topics/scicomp
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../topics/so
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../topics/tkinter
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../topics/web
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../topics/xml
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../doc
-../ht2html.py -r .. -s PDOGenerator *.ht
+$HT2HTML -r .. -s $HTSTYLE *.ht
 
 cd ../doc/articoli
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
 cd ../../doc/howto
-../../ht2html.py -r ../.. -s PDOGenerator *.ht
+$HT2HTML -r ../.. -s $HTSTYLE *.ht
 
-cd ../../doc/Python-Docs/download-html
-../../../ht2html.py -r ../../../ -s PDOGenerator download.ht
+#cd ../../doc/Python-Docs/download-html
+#$HT2HTML -r ../../../ -s $HTSTYLE download.ht
 
 
 cd ../../

Added: www/branches/python/scripts/rsync.sh
==============================================================================
--- (empty file)
+++ www/branches/python/scripts/rsync.sh	Sun Jun 25 21:14:06 2006
@@ -0,0 +1,5 @@
+#! /usr/bin/env sh
+
+# semplice script per copiare i file HTML
+# XXX TODO copia anche le directory .svn
+rsync --rsh=ssh -v -r -l -t --update --filter="+ */" --filter="- .svn/" --filter="+ *.html" --filter="+ *.ht" --filter="- *" ./ localhost:python.it


Maggiori informazioni sulla lista Commits