- def copier_partie_statique \r
- print `rsync #{$opt_rsync} index.yaws #{$host}:#{$rep_remote}`\r
- print `rsync #{$opt_rsync} favicon.ico #{$host}:#{$rep_remote}`\r
- print `rsync #{$opt_rsync} -r css #{$host}:#{$rep_remote}`\r
- print `rsync #{$opt_rsync} -r pages #{$host}:#{$rep_remote}`\r
- print `rsync #{$opt_rsync} -r --exclude 'autres' img #{$host}:#{$rep_remote}` \r
+ def copier_partie_statique
+ copier_fichier_html("index.yaws")
+
+ ####print `rsync #{$opt_rsync} index.yaws #{$host}:#{$rep_remote}`\r
+ #print `rsync #{$opt_rsync} favicon.ico #{$host}:#{$rep_remote}`\r
+ #print `rsync #{$opt_rsync} -r css #{$host}:#{$rep_remote}`\r
+ #print `rsync #{$opt_rsync} -r pages #{$host}:#{$rep_remote}`\r
+ #print `rsync #{$opt_rsync} -r --exclude 'autres' img #{$host}:#{$rep_remote}` \r
+ end
+
+ # Copie un fichier html, enlève les balises qui ont comme attribut : prod="delete"
+ def copier_fichier_htm(fichier)
+