summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl')
-rw-r--r--Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl b/Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl
new file mode 100644
index 00000000000..02efc598804
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl
@@ -0,0 +1,23 @@
+#!/usr/bin/perl
+### cleanmathsPIC.pl
+## for Unix/Linux only
+## removes all unnecessary files to facilitate archiving etc
+## RWD Nickalls 2005
+##---------------------------------------
+
+## -w ## turned off for the moment
+##------------------
+system ("mv -vf *.dvi ~/allfiles/trashcan");
+system ("mv -vf *.aux ~/allfiles/trashcan");
+
+system ("mv -vf *.mt ~/allfiles/trashcan");
+system ("mv -vf *.mlg ~/allfiles/trashcan");
+
+#system ("mv -vf *.idx ~/allfiles/trashcan");
+#system ("mv -vf *.ind ~/allfiles/trashcan");
+#system ("mv -vf *.glo ~/allfiles/trashcan");
+#system ("mv -vf *.bbl ~/allfiles/trashcan");
+
+## ask permission for the .pic/.log/.gnu just in case
+system ("mv -vf *.log ~/allfiles/trashcan");
+ __END__