src/Tools/install_html.sh
changeset 1315 1b731d0b5ad3
parent 1312 0c0e6298df13
child 1349 ef26adb4e5b6
--- a/src/Tools/install_html.sh	Thu Oct 26 14:02:33 1995 +0100
+++ b/src/Tools/install_html.sh	Fri Oct 27 12:21:02 1995 +0100
@@ -2,8 +2,19 @@
 # Executed from the main Isabelle directory, this script transfers all
 # files needed for the HTML version of Isabelle's theories to the HTTP
 # server.
+# If you don't want to copy all the logics, you can supply the names of
+# the wanted ones as parameters as in "install_html.sh HOL HOLCF".
 
-rsh www4 "rm -r .html-data/isabelle/*; mkdir .html-data/isabelle/Tools"
+if ( "$*" == "" ) then
+  rsh www4 "rm -r .html-data/isabelle/*; mkdir .html-data/isabelle/Tools"
+endif
+
 rcp index.html www4:.html-data/isabelle
 rcp Tools/*_arrow.gif www4:.html-data/isabelle/Tools
-rcp -r CCL CTT Cube FOL FOLP HOL HOLCF LCF LK Modal ZF www4:.html-data/isabelle
+
+if ( "$*" == "" ) then
+  rcp -r CCL CTT Cube FOL FOLP HOL HOLCF LCF LK Modal ZF \
+         www4:.html-data/isabelle
+else
+  rcp -r $* www4:.html-data/isabelle
+endif