#!/bin/sh
rm -f temp.tmp
echo -e "\input{./otsikko.tex} \n" >temp.tmp
find m*.tex  |awk '{print "\\input{./"$0"}\n"}' >>temp.tmp
cat ../ajoFiles/ajoTemplate.tex temp.tmp > Ajo.tex
echo '\end{document}' >>Ajo.tex
