#!/bin/sh
#cleanmus -- clean the mess generated by musixtex/mpp
rm -rf *.dvi *.ps *.mx? *.log *.aux *.toc *.lj 

for a in *.tex; do
  if head $a |grep -s 'MusiXTeX Source created by mpp';
  then
    rm $a;
  fi
done
