src/Tools/rm_html.sh
author clasohm
Thu, 26 Oct 1995 14:02:33 +0100
changeset 1314 e9a3287e7387
child 1324 113785b2929b
permissions -rwxr-xr-x
script for removal of HTML files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1314
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     1
#!/bin/csh
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     2
# Executed from the main Isabelle directory, this script removes all files
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     3
# made when Isabelle was used with set MAKE_HTML
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     4
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     5
rm */theory_list.txt */index.html */Pure_sub.html */CPure_sub.html
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     6
foreach f (*/*.thy */*/*.thy */*/*/*.thy)
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     7
  if (-f $f:r.html) then
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     8
    rm $f:r.html $f:r_sub.html $f:r_sup.html
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
     9
  endif
e9a3287e7387 script for removal of HTML files
clasohm
parents:
diff changeset
    10
end