summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mathspic/cleanmathspic.pl
blob: 02efc598804e48101a61f7a3063bd3f852626193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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__